Plugin - Wan IP Checker

Python and python framework
User avatar
emme
Posts: 553
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Plugin - Wan IP Checker

Post by emme » Thursday 23 February 2017 23:16

:oops: :oops:
looks like I have something wrong....
2017-02-23 22:11:00.414 Error: www_wanIP hardware (52) thread seems to have ended unexpectedly

here is the full log:

Code: Select all

2017-02-23 22:13:00.643 (www_wanIP) Plugin is stopping.
2017-02-23 22:13:01.094 (www_wanIP) Exiting work loop...
2017-02-23 22:13:01.094 (www_wanIP) Stopped.
2017-02-23 22:13:01.447 (www_wanIP) Initialized version 1.0.0, author 'ycahome'
2017-02-23 22:13:01.448 (www_wanIP) Debug log level set to: 'true'.
2017-02-23 22:13:01.448 (www_wanIP) 'Version':'1.0.0'
2017-02-23 22:13:01.448 (www_wanIP) 'HomeFolder':'/home/pi/domoticz/plugins/WAN-IP-CHECKER/'
2017-02-23 22:13:01.449 (www_wanIP) 'HardwareID':'52'
2017-02-23 22:13:01.449 (www_wanIP) 'Address':'https://4.ifcfg.me/ip'
2017-02-23 22:13:01.449 (www_wanIP) 'Mode1':'3600'
2017-02-23 22:13:01.449 (www_wanIP) 'Name':'www_wanIP'
2017-02-23 22:13:01.449 (www_wanIP) 'Port':'0'
2017-02-23 22:13:01.449 (www_wanIP) 'Author':'ycahome'
2017-02-23 22:13:01.449 (www_wanIP) 'Mode6':'Debug'
2017-02-23 22:13:01.449 (www_wanIP) 'Key':'WAN-IP-CHECKER'
2017-02-23 22:13:01.449 (www_wanIP) Device count: 1
2017-02-23 22:13:01.449 (www_wanIP) Device: 1 - ID: 901, Name: 'www_wanIP - WAN IP 1', nValue: 1, sValue: 'xxxxxxx'
2017-02-23 22:13:01.449 (www_wanIP) Device ID: '901'
2017-02-23 22:13:01.449 (www_wanIP) Device Name: 'www_wanIP - WAN IP 1'
2017-02-23 22:13:01.449 (www_wanIP) Device nValue: 1
2017-02-23 22:13:01.449 (www_wanIP) Device sValue: 'xxxxxx'
2017-02-23 22:13:02.351 (www_wanIP) WAN IP retrieved:xxxxxxx
2017-02-23 22:13:02.351 (www_wanIP) Previous WAN IP:xxxxxxx
2017-02-23 22:13:02.351 (www_wanIP) WAN IP the same. Skipping
2017-02-23 22:13:02.402 (www_wanIP) Heartbeat interval set to: 3600.
2017-02-23 22:13:10.965 (www_wanIP) Calling message handler 'onHeartbeat'.
2017-02-23 22:13:10.965 (www_wanIP) onHeartbeat called
2017-02-23 22:13:11.932 (www_wanIP) WAN IP retrieved:xxxxxxxx
2017-02-23 22:13:11.932 (www_wanIP) Previous WAN IP:xxxxxxx
2017-02-23 22:13:11.932 (www_wanIP) WAN IP the same. Skipping
2017-02-23 22:14:30.456 Error: www_wanIP hardware (52) thread seems to have ended unexpectedly
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

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

Re: Plugin - Wan IP Checker

Post by ycahome » Thursday 23 February 2017 23:17

JimmyH1969 wrote:Not working on Windows. Domoticz restarts every 10 seconds. Nothing in log, but thats hard to see if the system is no longer responding.
:(
Did you ever tested with another plugin?
Do you have python proper installed?

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

Re: Plugin - Wan IP Checker

Post by ycahome » Thursday 23 February 2017 23:22

emme wrote::oops: :oops:
looks like I have something wrong....
2017-02-23 22:11:00.414 Error: www_wanIP hardware (52) thread seems to have ended unexpectedly

here is the full log:

Code: Select all

2017-02-23 22:13:00.643 (www_wanIP) Plugin is stopping.
2017-02-23 22:13:01.094 (www_wanIP) Exiting work loop...
2017-02-23 22:13:01.094 (www_wanIP) Stopped.
2017-02-23 22:13:01.447 (www_wanIP) Initialized version 1.0.0, author 'ycahome'
2017-02-23 22:13:01.448 (www_wanIP) Debug log level set to: 'true'.
2017-02-23 22:13:01.448 (www_wanIP) 'Version':'1.0.0'
2017-02-23 22:13:01.448 (www_wanIP) 'HomeFolder':'/home/pi/domoticz/plugins/WAN-IP-CHECKER/'
2017-02-23 22:13:01.449 (www_wanIP) 'HardwareID':'52'
2017-02-23 22:13:01.449 (www_wanIP) 'Address':'https://4.ifcfg.me/ip'
2017-02-23 22:13:01.449 (www_wanIP) 'Mode1':'3600'
2017-02-23 22:13:01.449 (www_wanIP) 'Name':'www_wanIP'
2017-02-23 22:13:01.449 (www_wanIP) 'Port':'0'
2017-02-23 22:13:01.449 (www_wanIP) 'Author':'ycahome'
2017-02-23 22:13:01.449 (www_wanIP) 'Mode6':'Debug'
2017-02-23 22:13:01.449 (www_wanIP) 'Key':'WAN-IP-CHECKER'
2017-02-23 22:13:01.449 (www_wanIP) Device count: 1
2017-02-23 22:13:01.449 (www_wanIP) Device: 1 - ID: 901, Name: 'www_wanIP - WAN IP 1', nValue: 1, sValue: 'xxxxxxx'
2017-02-23 22:13:01.449 (www_wanIP) Device ID: '901'
2017-02-23 22:13:01.449 (www_wanIP) Device Name: 'www_wanIP - WAN IP 1'
2017-02-23 22:13:01.449 (www_wanIP) Device nValue: 1
2017-02-23 22:13:01.449 (www_wanIP) Device sValue: 'xxxxxx'
2017-02-23 22:13:02.351 (www_wanIP) WAN IP retrieved:xxxxxxx
2017-02-23 22:13:02.351 (www_wanIP) Previous WAN IP:xxxxxxx
2017-02-23 22:13:02.351 (www_wanIP) WAN IP the same. Skipping
2017-02-23 22:13:02.402 (www_wanIP) Heartbeat interval set to: 3600.
2017-02-23 22:13:10.965 (www_wanIP) Calling message handler 'onHeartbeat'.
2017-02-23 22:13:10.965 (www_wanIP) onHeartbeat called
2017-02-23 22:13:11.932 (www_wanIP) WAN IP retrieved:xxxxxxxx
2017-02-23 22:13:11.932 (www_wanIP) Previous WAN IP:xxxxxxx
2017-02-23 22:13:11.932 (www_wanIP) WAN IP the same. Skipping
2017-02-23 22:14:30.456 Error: www_wanIP hardware (52) thread seems to have ended unexpectedly
Try to set interval to 60. Seems that there is a bug on domoticz with bigher intervals

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by BarryT » Thursday 23 February 2017 23:54

Yup, latest domoticz version, latest jessie lite and just installed python3dev, now everything works.

It has something to do with the Python.

Thanks :)
6x Raspberry 3B
A lot of scripts, switches and sensors :)

User avatar
emme
Posts: 553
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Plugin - Wan IP Checker

Post by emme » Monday 08 May 2017 20:35

uhm... looks like on beta 7441 something has changed in the plugin framework :(

I got this in the log.. and of course the IP doesn't change:

Code: Select all

2017-05-08 16:27:41.464 Error: (plug_WanIP) 'onHeartbeat' failed 'ssl.SSLError':'failed to allocate SSL context'.
2017-05-08 16:27:41.464 Error: (plug_WanIP) ----> Line 101 in /home/pi/domoticz/plugins/WanIP/plugin.py, function onHeartbeat
2017-05-08 16:27:41.464 Error: (plug_WanIP) ----> Line 72 in /home/pi/domoticz/plugins/WanIP/plugin.py, function onHeartbeat
2017-05-08 16:27:41.464 Error: (plug_WanIP) ----> Line 153 in /usr/lib/python3.4/urllib/request.py, function urlopen
2017-05-08 16:27:41.464 Error: (plug_WanIP) ----> Line 455 in /usr/lib/python3.4/urllib/request.py, function open
2017-05-08 16:27:41.464 Error: (plug_WanIP) ----> Line 473 in /usr/lib/python3.4/urllib/request.py, function _open
2017-05-08 16:27:41.465 Error: (plug_WanIP) ----> Line 433 in /usr/lib/python3.4/urllib/request.py, function _call_chain
2017-05-08 16:27:41.465 Error: (plug_WanIP) ----> Line 1217 in /usr/lib/python3.4/urllib/request.py, function https_open
2017-05-08 16:27:41.465 Error: (plug_WanIP) ----> Line 1144 in /usr/lib/python3.4/urllib/request.py, function do_open
2017-05-08 16:27:41.465 Error: (plug_WanIP) ----> Line 1206 in /usr/lib/python3.4/http/client.py, function __init__
2017-05-08 16:27:41.465 Error: (plug_WanIP) ----> Line 459 in /usr/lib/python3.4/ssl.py, function _create_stdlib_context
2017-05-08 16:27:41.465 Error: (plug_WanIP) ----> Line 348 in /usr/lib/python3.4/ssl.py, function __new__
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by BarryT » Monday 08 May 2017 20:45

emme wrote:uhm... looks like on beta 7441 something has changed in the plugin framework :(

I got this in the log.. and of course the IP doesn't change:
ycahome wrote:Do you have "python3-dev" installed?
Is your internet working correctly?
I have seen that errors before when my internet was down..
Otherwise, try to check your python version in domoticz, when its giving a error try to update Python>

"sudo apt-get install python3-dev"

Let us know ;)
6x Raspberry 3B
A lot of scripts, switches and sensors :)

User avatar
emme
Posts: 553
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Plugin - Wan IP Checker

Post by emme » Tuesday 09 May 2017 11:45

..internet with some problems :P

vodafone statin was faulty :P :P

thanks
ciao
M
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by BarryT » Tuesday 09 May 2017 11:50

emme wrote:..internet with some problems :P

vodafone statin was faulty :P :P

thanks
ciao
M
Now we talking :)
6x Raspberry 3B
A lot of scripts, switches and sensors :)

DennisD
Posts: 55
Joined: Friday 18 September 2015 21:46
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Plugin - Wan IP Checker

Post by DennisD » Sunday 14 May 2017 17:19

BarryT,

Did you figure out what the problem was with python? I 2 get the same errors you had

Code: Select all

2017-05-14 17:18:03.228 Error: (IP Checker) 'onHeartbeat' failed 'URLError'.
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 102 in /home/pi/domoticz/plugins/wan-ip-checker/plugin.py, function onHeartbeat
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 73 in /home/pi/domoticz/plugins/wan-ip-checker/plugin.py, function onHeartbeat
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 153 in /usr/lib/python3.4/urllib/request.py, function urlopen
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 455 in /usr/lib/python3.4/urllib/request.py, function open
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 473 in /usr/lib/python3.4/urllib/request.py, function _open
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 433 in /usr/lib/python3.4/urllib/request.py, function _call_chain
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 1217 in /usr/lib/python3.4/urllib/request.py, function https_open
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 1180 in /usr/lib/python3.4/urllib/request.py, function do_open
Already tried to reinstall python 3.4 and tried lots of stuff python related to fix the issue, without any result

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by BarryT » Sunday 14 May 2017 17:35

DennisD wrote:BarryT,

Did you figure out what the problem was with python? I 2 get the same errors you had

Code: Select all

2017-05-14 17:18:03.228 Error: (IP Checker) 'onHeartbeat' failed 'URLError'.
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 102 in /home/pi/domoticz/plugins/wan-ip-checker/plugin.py, function onHeartbeat
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 73 in /home/pi/domoticz/plugins/wan-ip-checker/plugin.py, function onHeartbeat
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 153 in /usr/lib/python3.4/urllib/request.py, function urlopen
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 455 in /usr/lib/python3.4/urllib/request.py, function open
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 473 in /usr/lib/python3.4/urllib/request.py, function _open
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 433 in /usr/lib/python3.4/urllib/request.py, function _call_chain
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 1217 in /usr/lib/python3.4/urllib/request.py, function https_open
2017-05-14 17:18:03.228 Error: (IP Checker) ----> Line 1180 in /usr/lib/python3.4/urllib/request.py, function do_open
Already tried to reinstall python 3.4 and tried lots of stuff python related to fix the issue, without any result

Code: Select all

sudo apt-get install python3-dev
6x Raspberry 3B
A lot of scripts, switches and sensors :)

DennisD
Posts: 55
Joined: Friday 18 September 2015 21:46
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Plugin - Wan IP Checker

Post by DennisD » Sunday 14 May 2017 17:36

Nope, had that already so that is installed.

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by BarryT » Sunday 14 May 2017 17:43

DennisD wrote:Nope, had that already so that is installed.
Cache cleaned?
Rebooted?
Symlinks of python correct?
6x Raspberry 3B
A lot of scripts, switches and sensors :)

DennisD
Posts: 55
Joined: Friday 18 September 2015 21:46
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Plugin - Wan IP Checker

Post by DennisD » Sunday 14 May 2017 17:53

Cache is clean, rebooted multiple times after fresh install (python 3.4). Just need to check the symlinks again

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by BarryT » Sunday 14 May 2017 21:13

DennisD wrote:Cache is clean, rebooted multiple times after fresh install (python 3.4). Just need to check the symlinks again
What does your startup log of domoticz says?
Is python started or does it gives you an error?
6x Raspberry 3B
A lot of scripts, switches and sensors :)

DennisD
Posts: 55
Joined: Friday 18 September 2015 21:46
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Plugin - Wan IP Checker

Post by DennisD » Sunday 14 May 2017 22:02

The weird thing about the the startup is that i seem to miss the log entry PluginSystem: Started, Python version '3.4.2

Code: Select all

Hardware Monitor: Started
2017-05-14 21:24:33.498  ToonThermostat: Worker started...
2017-05-14 21:24:33.498  Wunderground: Worker started...
2017-05-14 21:24:33.499  DarkSky: Started...
2017-05-14 21:24:33.500  Pinger: Started
2017-05-14 21:24:33.501  Philips Hue: Worker started...
2017-05-14 21:24:33.501  XiaomiGateway: will listen on 9898 for hardware id 36
2017-05-14 21:24:33.512  XiaomiGateway: Worker started...
2017-05-14 21:24:33.513  EventSystem: reset all events...
2017-05-14 21:24:33.520  EventSystem: reset all device statuses...
2017-05-14 21:24:33.540  XiaomiGateway: Could not detect local IP address: resolve: Host not found (authoritative)
2017-05-14 21:24:33.540  Error: XiaomiGateway: system
2017-05-14 21:24:33.541  XiaomiGateway: stopped
2017-05-14 21:24:33.552  EventSystem: Started
2017-05-14 21:24:33.700  RFLink: Using serial port: /dev/ttyACM0
2017-05-14 21:24:33.770  PluginSystem: Entering work loop.
2017-05-14 21:24:34.001  OpenZWave: using config in: /home/pi/domoticz/Config/
2017-05-14 21:24:34.056  OpenZWave: Starting...
2017-05-14 21:24:34.056  OpenZWave: Version: 1.4-2501-g5af6780-dirty
2017-05-14 21:24:34.275  OpenZWave: Driver Ready
2017-05-14 21:24:34.289  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2017-05-14 21:24:34.289  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 1
2017-05-14 21:24:34.290  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR MULTILEVEL, Label: Luminance, Instance: 3
2017-05-14 21:24:34.290  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR MULTILEVEL, Label: Seismic Intensity, Instance: 25
2017-05-14 21:24:34.290  OpenZWave: Value_Added: Unhandled Label: Seismic Intensity, Unit: 
2017-05-14 21:24:34.291  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2017-05-14 21:24:34.291  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2017-05-14 21:24:34.292  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: ALARM, Label: SourceNodeId, Instance: 1
2017-05-14 21:24:34.292  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: ALARM, Label: Burglar, Instance: 1
2017-05-14 21:24:34.293  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2017-05-14 21:24:34.293  OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR ALARM, Label: General, Instance: 1
2017-05-14 21:24:34.295  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2017-05-14 21:24:34.295  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH MULTILEVEL, Label: Step Size, Instance: 1
2017-05-14 21:24:34.296  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH MULTILEVEL, Label: Inc, Instance: 1
2017-05-14 21:24:34.296  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH MULTILEVEL, Label: Dec, Instance: 1
2017-05-14 21:24:34.296  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH MULTILEVEL, Label: Level, Instance: 1
2017-05-14 21:24:34.296  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH MULTILEVEL, Label: Up, Instance: 1
2017-05-14 21:24:34.296  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SWITCH MULTILEVEL, Label: Down, Instance: 1
2017-05-14 21:24:34.296  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: METER, Label: Energy, Instance: 1
2017-05-14 21:24:34.297  OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: METER, Label: Power, Instance: 1
2017-05-14 21:24:34.299  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2017-05-14 21:24:34.299  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH MULTILEVEL, Label: Step Size, Instance: 1
2017-05-14 21:24:34.299  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH MULTILEVEL, Label: Inc, Instance: 1
2017-05-14 21:24:34.299  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH MULTILEVEL, Label: Dec, Instance: 1
2017-05-14 21:24:34.300  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH MULTILEVEL, Label: Level, Instance: 1
2017-05-14 21:24:34.300  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH MULTILEVEL, Label: Up, Instance: 1
2017-05-14 21:24:34.300  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: SWITCH MULTILEVEL, Label: Down, Instance: 1
2017-05-14 21:24:34.300  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: METER, Label: Energy, Instance: 1
2017-05-14 21:24:34.301  OpenZWave: Value_Added: Node: 10 (0x0a), CommandClass: METER, Label: Power, Instance: 1
2017-05-14 21:24:34.405  Incoming connection from: 192.168.1.27
2017-05-14 21:24:34.617  RFLink: 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R46;
2017-05-14 21:24:34.617  RFLink: Controller Initialized!...
2017-05-14 21:24:34.692  RFLink: 20;01;MiLight=ON;
2017-05-14 21:24:34.693  RFLink: 20;02;VER=1.1;REV=46;BUILD=0c;
2017-05-14 21:24:34.693  RFLink Detected, Version: 1.1 Revision: 46 Build: 0
2017-05-14 21:24:34.815  (IP Checker) Initialized version 1.0.0, author 'ycahome'

DennisD
Posts: 55
Joined: Friday 18 September 2015 21:46
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Plugin - Wan IP Checker

Post by DennisD » Saturday 20 May 2017 14:47

Just did a fresh install of my rpi3 but still have the same issue, i do however have the log entry PluginSystem: Started, Python version '3.4.2 which at first i didn't. Running the latest beta (3.479)

EDIT: Replaced the url to https://api.ipify.org/ , now no more errors!

assenzuid
Posts: 95
Joined: Friday 13 November 2015 10:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Plugin - Wan IP Checker

Post by assenzuid » Friday 02 June 2017 10:19

Domoticz Bèta 3.7602 has some issues with the Python framework.

viewtopic.php?f=6&t=17778
Moved recently to Emmen.

poudenes
Posts: 244
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 » 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 !!
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

andi216
Posts: 56
Joined: Tuesday 14 March 2017 14:10
Target OS: Raspberry Pi
Domoticz version: 3.7243
Contact:

Re: Plugin - Wan IP Checker

Post by andi216 » Wednesday 30 August 2017 16:37

Hello
How can I send a notification to the Telegram if it changes wan ip?
(A simple method ... I'm not a programmer)

poudenes
Posts: 244
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 » Wednesday 30 August 2017 22:09

Now i get this error as well:

Error: (Domoticz IP) ----> Line 101 in /home/pi/domoticz/plugins/wan-ip-checker/plugin.py, function onHeartbeat
Error: (Domoticz IP) ----> Line 72 in /home/pi/domoticz/plugins/wan-ip-checker/plugin.py, function onHeartbeat
Error: (Domoticz IP) ----> Line 153 in /usr/lib/python3.4/urllib/request.py, function urlopen
Error: (Domoticz IP) ----> Line 461 in /usr/lib/python3.4/urllib/request.py, function open
Error: (Domoticz IP) ----> Line 571 in /usr/lib/python3.4/urllib/request.py, function http_response
Error: (Domoticz IP) ----> Line 499 in /usr/lib/python3.4/urllib/request.py, function error
Error: (Domoticz IP) ----> Line 433 in /usr/lib/python3.4/urllib/request.py, function _call_chain
Error: (Domoticz IP) ----> Line 579 in /usr/lib/python3.4/urllib/request.py, function http_error_default

Have the python3 dev installed already
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests