Plugin - Wan IP Checker

Python and python framework
poudenes
Posts: 310
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Plugin - Wan IP Checker

Post by poudenes » Saturday 02 September 2017 18:40

when this error pop up it also let crash other python scripts. Need to restart Domoticz to let it run ok again
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

User avatar
ycahome
Posts: 71
Joined: Sunday 12 February 2017 11:55
Target OS: Linux
Domoticz version: beta
Contact:

Re: Plugin - Wan IP Checker

Post by ycahome » Monday 04 September 2017 9:36

poudenes wrote:
Wednesday 30 August 2017 9:31
Works GREAT !!!!!

Only thing: You can not use it on a Slave Domoticz and read the info on the Master Domoticz. The Device is not shown in list of "not used"devices on the Master Domoticz.

Maybe thats it thing to look at. Rest briljant plugin. Now i can check if my VPN is on !!
This depends on which type of devices/switches are allowed to be remotely transferred from Domoticz. This is not something that can be defined from plugin itself.

br,

User avatar
ycahome
Posts: 71
Joined: Sunday 12 February 2017 11:55
Target OS: Linux
Domoticz version: beta
Contact:

Re: Plugin - Wan IP Checker

Post by ycahome » Monday 04 September 2017 10:39

#1st Post Updated with the new version.
-Improve: Timeout added to prevent stale url requests.

User avatar
EdwinK
Posts: 975
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Plugin - Wan IP Checker

Post by EdwinK » Friday 15 September 2017 22:17

Used to work earlier today (no error seen), but by change I looked at the error-log tonight and noticed this

Code: Select all

2017-09-15 22:11:30.547 Error: IP Check hardware (38) thread seems to have ended unexpectedly
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
ycahome
Posts: 71
Joined: Sunday 12 February 2017 11:55
Target OS: Linux
Domoticz version: beta
Contact:

Re: Plugin - Wan IP Checker

Post by ycahome » Sunday 17 September 2017 10:15

EdwinK wrote:
Friday 15 September 2017 22:17
Used to work earlier today (no error seen), but by change I looked at the error-log tonight and noticed this

Code: Select all

2017-09-15 22:11:30.547 Error: IP Check hardware (38) thread seems to have ended unexpectedly
Strage, did you change to new version (1.1.0)? or you still have the previous one?
Can you give more details?

User avatar
EdwinK
Posts: 975
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Plugin - Wan IP Checker

Post by EdwinK » Sunday 17 September 2017 12:30

Used the latest version, running on Synology.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
Dnpwwo
Posts: 652
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Plugin - Wan IP Checker

Post by Dnpwwo » Sunday 17 September 2017 13:47

@EdwinK,

You will see this in the log if the plugin Heartbeat is ever greater than (or equal to) 30 seconds because Domotoicz doesn't like it.

The plugin will work just fine, that is just a warning.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw

User avatar
EdwinK
Posts: 975
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Plugin - Wan IP Checker

Post by EdwinK » Sunday 17 September 2017 18:22

Thanks. Will ignore it then.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
Teknor
Posts: 26
Joined: Monday 08 February 2016 14:26
Target OS: Raspberry Pi
Domoticz version: 3.48
Location: Norway
Contact:

Re: Plugin - Wan IP Checker

Post by Teknor » Sunday 29 October 2017 22:44

When installing the plugin I get the following error and Domoticz will not start. Kind of strange that my GPIO export settings will make the script fail?

All help is appreciated. Thanks.

Code: Select all

[email protected]:~/domoticz/plugins $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh)
   Active: active (exited) since sø. 2017-10-29 21:37:23 CET; 3min 7s ago
  Process: 576 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

okt. 29 21:37:23 raspberrypi sudo[861]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh -c echo 27 > /sys/class/gpio/export
okt. 29 21:37:23 raspberrypi sudo[861]: pam_unix(sudo:session): session opened for user root by (uid=0)
okt. 29 21:37:23 raspberrypi sudo[861]: pam_unix(sudo:session): session closed for user root
okt. 29 21:37:23 raspberrypi sudo[874]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh -c echo high > /sys/class/gpio/gpio27/direction
okt. 29 21:37:23 raspberrypi sudo[874]: pam_unix(sudo:session): session opened for user root by (uid=0)
okt. 29 21:37:23 raspberrypi sudo[874]: pam_unix(sudo:session): session closed for user root
okt. 29 21:37:23 raspberrypi sudo[886]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh -c echo 1 > /sys/class/gpio/gpio27/active_low
okt. 29 21:37:23 raspberrypi sudo[886]: pam_unix(sudo:session): session opened for user root by (uid=0)
okt. 29 21:37:23 raspberrypi sudo[886]: pam_unix(sudo:session): session closed for user root
okt. 29 21:37:23 raspberrypi systemd[1]: Started LSB: Home Automation System.
Raspberry Pi 3 running RFXTRX433e Mysensors NRF24L01 MotionEYE - Raspberry Pi 2 running Pikrellcam

Post Reply

Who is online

Users browsing this forum: Quax1507 and 4 guests