Vera or not vera?
-
@dest said in Vera or not vera?:
What's in my plugin code I need to check that can trigger openLuup to reload ?
- Creating new child devices?
- When does it happen?
- Do you have Startup and main logs?
-
@akbooer
I find that sunrise and sunset happen late on openLuup compared to vera. OpenLuup is delayed for more than 1 hour.
Could this be a localization problem? -
@krisztianszabo said in Vera or not vera?:
Could this be a localization problem?
You perhaps have not set your location correctly in openLuup. The latitude and longitude are initially set in the Lua Startup code, which has as default:
-- You can personalise the installation by changing these attributes, -- which are persistent and may be removed from the Startup after a reload. local attr = luup.attr_set -- Geographical location attr ("City_description", "Greenwich") attr ("Country_description", "UNITED KINGDOM") attr ("Region_description", "England") attr ("latitude", "51.48") attr ("longitude", "0.0")
-
@akbooer said in Vera or not vera?:
@krisztianszabo said in Vera or not vera?:
Could this be a localization problem?
You perhaps have not set your location correctly in openLuup. The latitude and longitude are initially set in the Lua Startup code, which has as default:
-- You can personalise the installation by changing these attributes, -- which are persistent and may be removed from the Startup after a reload. local attr = luup.attr_set -- Geographical location attr ("City_description", "Greenwich") attr ("Country_description", "UNITED KINGDOM") attr ("Region_description", "England") attr ("latitude", "51.48") attr ("longitude", "0.0")
Thank you, I corrected the values. We will see the result when it gets dark ...
-
@akbooer
For some reason, after the AltUi "reload engine" I get a "controller did not respond" response with an orange background.
So far, I thought dsc and harmony are not due to connection.
I just deleted my two unconnected devices.
And still this message.
I looked at the logs for the duration of the error message and did not see anything to throw out.
How can I find out the cause of the error?K
-
@krisztianszabo said in Vera or not vera?:
after the AltUi "reload engine" I get a "controller did not respond" response with an orange background.
This is absolutely normal and is simply AltUI noting that connection has been lost during the restart. The only time you need to worry is if there is a timer counting away the seconds for a long time.
-
Hi @DesT !
I don't want to urge you, I'm just interested,
do you have any good news about dsc?
Thanks.
K -
Hi @akbooer ,
Another task ahead of me:
I have a 15 channel shutter control module that I want to run under OpenLuup. (if you help I can transfer the plugin files)The shutter control interface is connected to the vera via usb.
The following setting is in Vera:
Where can I make such settings in openLuup?
Thanks -
Probably much the same way as the RFX?
https://smarthome.community/topic/253/setting-up-rfxcom-plugin-in-standalone-openluup?_=1606133137706baud, parity, etc is set up in the ser2net file.. then connect using IP:Port (127.0.0.1 if its on the local computer)
-
@perh
Thanks for the reply and tip.
I installed ser2net, I think it worked fine, but I don't have a / serial directory under the / dev directory .....
What do you think I should do then? -
You're running Debian 10.6 right? if so its hidden, but just type
cd /dev/serial/by-id/
-
if not, you can use /dev/ttyUSBxx(whatever usb you device is connected to)
-
@perh
How can I check if I am using debian 10.6?
I tried to type, but unfortunately there is no such directory ... -
@perh said in Vera or not vera?:
if not, you can use /dev/ttyUSBxx(whatever usb you device is connected to)
There is no ttyUSB file in the / dev directory.
There are several tty files numbered here, but without USB ... -
mabye its a "ttyACMx"?
You've reached the limit of my linux knowledge. Good luck.
-
I think I also reached the limit ....
-
@perh said in Vera or not vera?:
if not, you can use /dev/ttyUSBxx(whatever usb you device is connected to)
After many attempts, he finally succeeded.
Ser2net installed, restarted, ser2net.conf configured.
MySensors plugin is not red, startup lua does not write an error.However:
The children's tools were not made, but the shutters did not appear.
Do they need to be created manually? -
@dest said in Vera or not vera?:
@akbooer Last time, the thing I remember, the plugin was unable to "connect" to the socket on the DSC controller!
I would need to recreate my DSC device on openLuup and disable Vera for being able to test!
Hi @DesT!
Maybe you may have fixed the dsc plugin error?
-
@krisztianszabo Nah sorry! Got too much thing to do @ work!
I will have more free time in a couple of weeks for the holidays!
-
@dest I think you have more important things than this.
Please let me know if you have any progress on the matter.
Thanks in advance.
K