Page 1 of 1
Server won't connect to internet services
Posted: Thursday 28 January 2016 14:23
by stewie
I installed Domoticz on Windows and tested following services successfully: Kodi, weatherunderground, email notification, android notification
I also installed it on my raspberry pi on my existing raspbian which connects via wlan0. On the raspberry I can get Kodi working fine but not weatherunderground, or any notifications so it seems that the services using internet doesn't work.
I can open websites on the raspberry, so there is an internet connection.
For example, if I use
http://api.wunderground.com/api/MYAPI/c ... ENG66.json on my windows system it works fine but on the raspberry it says:
"error": {
"type": "station offline"
}
Anyone knows what's going on?
Re: Server won't connect to internet services
Posted: Sunday 31 January 2016 17:01
by stewie
So I tried more services, but nothing seems to be working on my raspbery pi domoticz installation. Everything is working fine on my windows installation.
This is from the log:
2016-01-31 17:47:07.308 Error: ForecastIO: Error getting http data!
2016-01-31 17:47:07.309 Error: Wunderground: Error getting http data!
2016-01-31 17:54:32.746 Error: Pushbullet:
2016-01-31 17:54:32.746 Error: Notification sent (pushbullet) => Failed
2016-01-31 17:54:32.782 Active notification subsystems: (0/10)
Re: Server won't connect to internet services
Posted: Sunday 31 January 2016 17:04
by gizmocuz
Sounds like an internet/dns problem, did you try some wget commands ?
Re: Server won't connect to internet services
Posted: Sunday 31 January 2016 22:01
by stewie
Yes it seems like it. But I can access internet, update programs and use wget commands just fine.
Is there maybe a setting in domoticz or in domoticz.sh that can be changed?
Maybe I should note that I'm using UnoDNS as a DNS server
Re: Server won't connect to internet services
Posted: Monday 01 February 2016 10:10
by Sneezydevil
I am not familiar with the inner workings of UnoDNS, but what happens when you wget the Weatherunderground url, does that work?
Is UnoDNS vital to the Pi? Otherwise you can try and force your ISP's DNS and see what happens.
Re: Server won't connect to internet services
Posted: Monday 01 February 2016 11:29
by stewie
tested wget
http://www.wunderground.com/US/CA/San_Francisco.html : It successfully retrieved the .html
tested wget
http://api.wunderground.com/api/MYAPI/c ... ENG66.json but it says "station offline"
I then used my ISP's DNS and now everything is working fine. UnoDNS is used to turn off my region identification so that I can watch netflix USA. So it is not vital for the Pi, but I do need it. Anyone knows how I can workaround this?
Re: Server won't connect to internet services
Posted: Monday 01 February 2016 12:27
by Sneezydevil
Where is the setting for UnoDNS, in your router or on every device?
And are using the Pi to watch NetFlix on?
Re: Server won't connect to internet services
Posted: Tuesday 02 February 2016 7:36
by stewie
Currently in the router. I am not using Domoticz Pi for netflix. So I guess the would be my work around.
Just hoped there would be a proper solution should this problem occur again, but at least now I know what the problem is.
Thanks for the help guys.