Ok so I got it up and running and I thought I would give you some feedback from what I did and a few questons I have .
- when I followed the fix instructions and
wget https://github.com/jbaans/iothermostat/blob/master/configuration_files/home/setupFallbackWifi.sh
and
wget https://github.com/jbaans/iothermostat/blob/master/configuration_files/etc/systemd/system/setupFallbackWifi.service
but I still couldn’t get the hotspot to work. I then noticed that it didn’t download the contents of the file from github but the html of the page itself I copied the contents from the page manually using nano and finally after power cycling I got the hotspot to work .
- when I copied the file into setupfallBackWifi.sh into /home/iothermostat I had to use sudo as I didnt have permission to access the /iothermostat directory, when mounting the SD card on my laptop. I had to then chgrp and chown of files back from root to user 1001 ( aka iothermostat) not sure if this would have affected the outcome but it worked for me .
3)when following the instructions to upgrade it suggests
download and copy iothermostat/* to /home/iothermostat/iothermostat/
on my image it shows the directory as
iothermostat-python
- out of interest I have a Mqtt broker on my Openhab but I notice iothemostat has its own broker I take it this is essential for the web interface functionality ? I was wondering whether it is possible to have the client on iothermostat publish the temp/humidity/pressure to the openhab broker ?
5)On the topic of Mqtt , we discussed incorporating external temps sent from openhab connected sensors to the iothemostat I guess this is all related really, is it possible for 2 devices with brokers to publish to each other?
6)when touch the advanced.php icon on the touchscreen its not always responsive it can take several attempts to get it to the advanced page . Is this because of the touchscreen accuracy? all other icons on screen respond perfectly .
- I notice commits to the files in
configuration_files/etc/lighttpd is this something that I should copy across as its not something updated in the current image ?
-
I am using 16Gb Sdcards on the iothermostats , however the system is only using 7.0gb any idea why?
Filesystem Size Used Avail Use% Mounted on
dev 232M 0 232M 0% /dev
run 239M 260K 239M 1% /run
/dev/mmcblk0p2 7.0G 2.1G 4.5G 32% /
tmpfs 239M 4.0K 239M 1% /dev/shm
tmpfs 239M 0 239M 0% /sys/fs/cgroup
tmpfs 239M 8.0K 239M 1% /tmp
/dev/mmcblk0p1 100M 27M 74M 27% /boot
tmpfs 48M 4.0K 48M 1% /run/user/1001
-
i have a recurring error
Nov 12 18:22:13 iothermostat python[353]: IOThermostat: [Errno 2] No such file or directory: '/home/YOURUSERNAME/iothermostat.csv'
should I create the log file for it ?
I really impressed so far with the image, its quick to load simple in design and I like the web interface setup for the scheduler .
now if I can incorporate the temp reading from openhab iothermostat and the humidity and pressure readings from iothemostat openhab, or even control the thermostat from from my openhab setup (more discussion on that another time on a different thread ) it would be perfect .
thanks again @janbonne for your hard work