Posts: 2
Threads: 1
Joined: Jun 2024
Reputation:
0
Hi,
I'm trying to reboot a wiser for KNX with a script.
Using this "os.execute('reboot')", the server doesn't reboot.
I also tested this "os.execute(reboot)" but i have the same result.
Respectfully,
BRUN Félix.
Posts: 5046
Threads: 28
Joined: Aug 2017
Reputation:
230
In General configuration there is Block unsafe functions in scripts:
Make sure to disable it.
------------------------------
Ctrl+F5
Posts: 145
Threads: 21
Joined: Jul 2015
Reputation:
0
Hi,
I have the same problem as fbrun@domizy to reboot LM5, I don't understand Daniel's answer
BR
Jean-Marc
Posts: 5046
Threads: 28
Joined: Aug 2017
Reputation:
230
Utilities-> General configuration...
------------------------------
Ctrl+F5
Posts: 145
Threads: 21
Joined: Jul 2015
Reputation:
0
Yesterday, 15:18
(This post was last modified: Yesterday, 15:23 by JMM.)
Thanks Daniel, it's OK
Is it also possible to reset the USB port by script, I have a Uart rs232 which from time to time blocks and I am obliged to unplug and replug
Jean-Marc
Posts: 5046
Threads: 28
Joined: Aug 2017
Reputation:
230
What is the device you have problem with?
------------------------------
Ctrl+F5
Posts: 145
Threads: 21
Joined: Jul 2015
Reputation:
0
It's : FTDI - FT232R USB UART
Jean-Marc
Posts: 5046
Threads: 28
Joined: Aug 2017
Reputation:
230
Did you check if just reboot helps? I think it will need power down anyway.
------------------------------
Ctrl+F5
Posts: 145
Threads: 21
Joined: Jul 2015
Reputation:
0
Yesterday, 16:03
(This post was last modified: Yesterday, 16:04 by JMM.)
Yes reboot helps, I read the frame of a Linky electric meter every minute, some day at 8:00 a.m. the meter sends the tariff change and the ft232 blocks so either reboot or disconnect reconnect
It's not from the script!!
Jean-Marc