[quote=“RexBeckett, post:58, topic:182769”]If you delete this device it will re-appear after the next luup restart. You can hide it using the command:
luup.attr_set("invisible","1",123)
Replacing 123 with the device number. In UI5, this needs to be placed in Startup Lua. In UI7, it apparently sticks if run once in Test Luup code (Lua).[/quote]
This works a treat! And has hidden the child device.
I have OCD LOL! I managed to hide the junction box in the stud wall and the wiring turned out pretty well and neat.
The sparky also told me the same thing, that the reason I could see my energy monitor going up and down, is most likely the thermostat on the immersion at the top of the tank, kicking it off and on. Funny I never noticed this happen before, but I can’t say I sit and watch the energy monitor that much.
This was a very good project for us, as our central heating boiler / system is as old as the hills and for some reason we can’t have hot water only on the gas, as the radiators are always on as well. I need a plumber to fix this and have put it off as I know it won’t be cheap.
So in the summer months we usually rely on the immersion heater for hot water. I’ve just created two scenes in Vera, one to turn on the immersion at 6am every day and one to turn off the immersion 20 minutes later. So least now we will have hot water in a morning.
Only problem I can see is when we start coming in to the winter months and start using the radiators again, I will need to remember to disable these new schedules for the immersion heater. As when the radiators are being used we also have hot water on the gas.
I think another good idea might be to build in some safety cut off in the Vera scenes, for example if the immersion heater has been on for more than 1 hour? Then for Vera to automatically turn it off.
Not sure how I’d do this yet? But one thing that springs to mind is to use the count down timer plug-in perhaps.
My scheduled scenes will only have it turned on for 20 minutes, but worried if the wife or kids turn it on with their tablet app, they might forget to turn it back off etc.
I think when I move to UI7 and when I buy a new Vera Edge or what ever those other Vera boxes were we saw in the CES photos, if they release them?
At that point I’d probably like to start over, moving devices over to the new box and creating all my scenes again and at this time I start using PLEG I think.
I should have done it sooner, use PLEG that is, but all my scenes are already setup and have quite a lot of LUUP code etc.