I want to control VeraLite from my cloud-based program through the Internet. For example, I want to turn off the lighting switch or read sensor data through VeraLite.
Does anyone know how to do that? How to connect through http request or TCP request?
I have tried the commands. The status in VeraLite does changed, but the setting on the thermostat does not change at all. I guess it just edit the record value in VeraLite, not send control signal to the device.
Not sure why it is not updating the thermostat. This is what I use in my Android app to control the thermostats. Can you confirm that a change from the Vera Web interface updates the thermostat?
It’s working now! I am not sure why it didn’t work before, but now I tried it again and it’s working!
[quote=“garrettwp, post:7, topic:171747”]Not sure why it is not updating the thermostat. This is what I use in my Android app to control the thermostats. Can you confirm that a change from the Vera Web interface updates the thermostat?
When I change the setpoint of thermostat manually, I didn’t see the corresponding change in VeraLite. Even I wait for several minutes, the parameter does not change in VeraLite.
The time interval of polling is set to be 60 seconds, so it is supposed to update the device status every 60 seconds.
By default Vera polls a device every 30 seconds, and a device cannot be polled more than once every 60 seconds. If you have 1 Z-Wave device it will be polled once every 90 seconds, if you have 10 Z-Wave devices it will be polled once every 330 seconds. So if you have many Z-Wave devices it can take several minutes for a device to be updated.
I am sure the poll is successful, but the setpoint shown on Vera is different from the actual setpoint on thermostat. After I set the setpoint on thermostat manually, I wait for long time but the setpoint in Vera did not change. Even if I press the button ‘Poll Now’ in the web UI, the setpoint does not change. It seems there is some problem with the poll function.
If Vera polls a device every 30 seconds then a polling cycle takes 30 seconds * 10 devices = 300 seconds. The next polling cycle begins 30 seconds after the previous polling cycle ended, so 300 seconds + 30 seconds = 330 seconds until the first device in the new polling cycle is polled. I’m not that good at explaining things.
Even if I press the button 'Poll Now' in the web UI, the setpoint does not change. It seems there is some problem with the poll function.
You should SSH into Vera and look in the LuaUPnP.log file.
First you must enable verbose logging with the command:
[tt]VerboseLogging.sh enable[/tt]
Then watch the logs for lines starting with 06:
[tt]tail -f /var/log/cmh/LuaUPnP.log | grep ‘^06’[/tt]
After you issue a poll command from the UI you should see something like this in the log file:
It seems that the problems is VeraLite does not poll the setpoint, only polls the temperature and fan mode. Do you have any idea to make it poll the setpoint?
Thanks a lot!!
If Vera polls a device every 30 seconds then a polling cycle takes 30 seconds * 10 devices = 300 seconds. The next polling cycle begins 30 seconds after the previous polling cycle ended, so 300 seconds + 30 seconds = 330 seconds until the first device in the new polling cycle is polled. I’m not that good at explaining things.
Even if I press the button 'Poll Now' in the web UI, the setpoint does not change. It seems there is some problem with the poll function.
You should SSH into Vera and look in the LuaUPnP.log file.
First you must enable verbose logging with the command:
[tt]VerboseLogging.sh enable[/tt]
Then watch the logs for lines starting with 06:
[tt]tail -f /var/log/cmh/LuaUPnP.log | grep ‘^06’[/tt]
After you issue a poll command from the UI you should see something like this in the log file: