Hello. Want to ask, is there any way to report standby status with every single standby change (when I turn on/off box manually). Searching net i`ve found some scripts, but they using cron. I want to report this to Node-Red or Domoticz.
Standby status reporting to mqtt
Re: Standby status reporting to mqtt #2
Posted 4 March 2024 - 22:07
I have a script that run crontab every 15 seconds (no problem)
https://dream.reichholf.net/e2web/
Hope you find a working solution.
Re: Standby status reporting to mqtt #3
Re: Standby status reporting to mqtt #4
Posted 5 March 2024 - 12:24
Just install the python source files by typing the next command in a telnet client
opkg install enigma2-src
Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....
On the edge of the abyss, a step forward is not always progress....
Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna
Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam
Press the button on the buttom right of this message
Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki
Re: Standby status reporting to mqtt #5
Re: Standby status reporting to mqtt #6
Posted 5 March 2024 - 20:46
Did you create the script? With that exact name? Make it executable?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Standby status reporting to mqtt #7
Posted 5 March 2024 - 20:48
you can put the box in standby with
# PowerState 0 = Standby; 1 = Deepstandby; 2 = Reboot; 3 = Restart Enigma2 wget -O - -q http://127.0.0.1/web/powerstate?newstate=0
you can check powerstate with this line, you get false or true as result
wget -O - -q http://127.0.0.1/web/powerstate
Re: Standby status reporting to mqtt #8
Re: Standby status reporting to mqtt #9
2 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
-
Bing (1)