Hello.
I have two of these running on my Vera, each doing a room with electric heaters in.
I am always having “Running Lua Start up” messages for one of them rendering them useless while it does it. Sometimes it can be for hours. My lounge was running this morning, and its still going now while I freeze watching the rugby.
I can manually turn the heaters on directly as the thermostat turns off again and I can move to comfort or off as it comes up with Device Not Ready!
What is it doing and why is it so often? How do i stop it?
I’ve tried pulling the plug and a reboot via the setup screen.
Ugh ? Very strange, never see that on my Vera and never heard about before. It’s like startup function do lot of time to init plugin.
I’m quit sure you already did, but have you check your config ?
How many heater / sensor was config in ? what kind of heater / sensor is ? What’s your Vera model and firmware ?
I’ve got 2 instances of the plugin running, one for my lounge, and one for my kitchen.
The kitchen is run in Auto all the time. set at 21degC for comfort and 16 for eco.
The temperature sensor is a EZ 3in1 polling every 15 mins.
There is a single electric panel heater operated by a plugin z-wave switch.
The back door has a Everspring sensor on as the inhibit.
the outside temperature comes from the Wunderground plugin.
The lounge is run in Auto all the time. set at 21degC for comfort and 18 for eco
The temperature sensor is another EZ 3in1 polling every 15 mins.
There are two electric panel heater operated by a TKB z-wave switch and a Duewi Z-wave switch
The same back door Everspring sensor is the inhibit.
the outside temperature comes from the Wunderground plugin.
I have a scene that movement in a room from the 3in1 moves the thermostat to comfort, then back to eco after 30 mins
Other than that i leave it alone. Learning is enabled.
I’m on a Veralite, v1.5.408.
I’ve installed your new files as the version i had was from the mios app store. I’ll see what happens in the next few days.
Thank you for the help.
Hi,
I’m having a very similar issue. We’ve recently setup 3 instances of the Smart Virtual Thermostat.
Each with one temperature sensor and one switch associated. We’ve also recently setup the Datamine plugin (just in case its related), using a USB stick for data collection.
All seemed to be running fine till last night. When we could no longer connect via the web browser to the vera. It came up with the black redirecting page. … but never connected to the /chm page
This morning I’ve reboot the vera few times. Eventually I got to the vera device page… while the system was starting up. The last message to appear and get stuck was Smart Virtual Thermostat [32] Running Lua Startup. The portal then seems to be unresonsive. If I try connect from another browser it doesnt connect … A reboot is the only option but I’m not getting any further.
I completely uninstalled the plugin today. Reinstalled after reboots from the mios App Store
The first device has a red banner underneath saying “lua start up failure” and in the banner at the top is says “Smart Virtual Thermostat: Configuration Erronee”
I’ve noticed we get the ““Smart Virtual Thermostat: Configuration Erronee”” when you forget to configure one of its required settings. (Inside Temp Sensor and Heater IDs)
Still no progress here.
We’ve removed the datamine plugin completely to rule it out.
We’re still having an issue where the Vera seems to become partially unresponsive. It responds to pings but we can’t access the web portal, or can access the web portal but only for a minute during the boot up phase.
At the moment after rebooting the last message we see on screen is “Smart Virtual Thermostat [50] lua starting up” … then it hangs. I try to disable the Smart Virtual Thermostat 50 but it doesn’t seem to save as it has hung.
I know if I reboot it a few times, or wait a while it starts again and works for some time.
I’m starting to wonder now, if it is only hanging when the Smart Virtual Thermostat is in a certain state, such as the sensor temperature is higher than the comfort temperature at boot up, when the problem occurs.
I’m going to reboot a few more times to see if it eventually starts up fully. If not I’ll move the temperature sensor to a cold room and see if the Smart Virtual Thermostat state is different does it start correctly
[tt]
function virtual_thermostat_startup (lul_device)
local data = readSettings(lul_device)
-- check data before process
if (data.InSensors == nil or #data.InSensors < 1 or data.heaters == nil or #data.heaters < 1) then
luup.task('Bad parameters',2,'Smart Virtual Thermostat', -1)
return false
end
if (#data.inhibitSensors >= 1) then
register_watch(data.inhibitSensors)
end
luup.variable_set (SVT_SID, "EnergyModeStatus", data.EnergyModeStatus , lul_device)
luup.call_timer("RecurentUpdateStatus", 1, "1m", "", tostring(lul_device))
return true,"ok","Smart Virtual Thermostat"
end
[/tt]
readSettings is only a sum of luup.variable_get / luup.variable_set … nothing heavy
check data before process is only few control on array … not more heavy
register_watch there is some luup.variable_watch (one per inhibitor sensor)
I add a delay for starting RecurentUpdateStatus … to speed starting
And that all …
yes i had this behaviour to. it was after adding scene with Lua code only, using the word delay as string for a delay which is maybe not good idea. and there is a problem in scene-editor where it mess up room name. after deleting both scene i made the vera returned to normal. it either is a bug in vera system or wrong variable used.
Hello, I’ve just installed the Smart Virtual Thermostat but I get the notice “Smart Virtual Thermostat : Bad parameters” on the head banner and “Lua Startup failure” in the red line under the plugin. I’ve read in this post that maybe I forgot to configure one of its required settings. (Inside Temp Sensor and Heater IDs). Well, I don’t understand exactly what I must do.
Can someone help me? Thank you very much.
[EDIT:] You can set up the following parameters in the device’s “Advanced” tab:
Inside Temperature Sensors: list your indoor temperature sensors IDs separated by commas. The plugin uses the average of all the temperature sensor values.
Outside Temperature Sensors: list your external temperature sensors IDs separated by commas. The plugin uses the average of all the temperature sensor values.
Inhibit Sensors: list your sensors IDs separated by commas. If you want to reverse the sensor polarity, you can put a minus before the ID of the module. If at least one of the sensors is activated then the heating stops.
Heaters: list all your radiators IDs separated by commas.
Waiting Time Open: the time in the seconds before stopping the heating, if the sensor is activated.
Waiting Time Close: the time in the seconds before restaring the heating, if all the sensors are disabled.
Forced Mode Duration: duration of forced mode before returning to auto mode.
PowerMin: minimum % of heating, if the plugin considers it’s necessary to heat (depends on the indoor and outdoor temperature).
Hi a-lurker and thank you very much. My problem is that my Setting Tab appears like the attachments below. I don’t succeed in finding Inside Temperature Sensors, Outside Temperature Sensors and so on. Maybe that the plugin is not installed correctly or I am a bit confused? Thanks again.
You can find parameters mentioned by a-lurker in the “Advance” tab, not in “Settings”. If you can’t find them here, restart luup and they should appear.
Hello, another question, if you can help me once again.
I have filled into the “heaters” field, the ID of a AEON Smart Switch and I expected the SmartVirtualThermostat switch it ON and OFF simply pushing HEAT and OFF on the tab, for a try.
But nothing happens. Is this correct, or I must use it in a different manner?
Thanks again for your patience.
Try this link : http://www.antor.fr/apps/smart-virtual-thermostat/?lang=en. There you can find install/configuration instructions for this plugin. There are 2 mandatory parameters:
1 . Inside Temp Sensors: Complete list of ID with your internal temperature sensors separated by commas. The plugin average all values.
2 . Heaters: Complete list with the ID of your radiators separated by commas
Follow the instructions there, i can’t give you more info because i didn’t use this plugin, but it seems that developer did a grate job describing how this plugin works and how must be configured.
Are you using the device id and not the node id? The device id can be found under the device via the wrench icon. From there, click on the “Settings Tab” and find the device id in the upper right hand corner.