Search found 229 matches

by EddyG
Tuesday 19 June 2018 9:21
Forum: Bugs and Problems
Topic: After every update/reboot (some) USB devices not working
Replies: 4
Views: 122

Re: After every update/reboot (some) USB devices not working

The rootdelay was not present in my distribution and it did help me.
Perhaps you could add a delay at the start of domoticz at boot time.
Does a "sudo systemctl restart domoticz.service" solve your problem?
by EddyG
Monday 18 June 2018 21:33
Forum: Bugs and Problems
Topic: After every update/reboot (some) USB devices not working
Replies: 4
Views: 122

Re: After every update/reboot (some) USB devices not working

You might try to add at the end of line in the file: /boot/cmdline.txt the text: rootdelay=10
by EddyG
Sunday 17 June 2018 16:17
Forum: Speech & Voice Systems
Topic: notifications to chromecast
Replies: 29
Views: 2562

Re: notifications to chromecast

My script is working fine even with the concat of 2 mp3's at 24kHz. The Chromecast on my TV is switching to the correct HDMI port. So normal TV is interupted. The script is looping for a "200" return from the Chromecast and the mp3 is not playing on the TV. sudo ./stream2chromecast.py -devicename Wo...
by EddyG
Tuesday 29 May 2018 22:46
Forum: Suggestions
Topic: Little bit more info on the About screen.
Replies: 0
Views: 175

Little bit more info on the About screen.

It might me helpfull to have some more info on the About screen like OS version and Hardware, even with a copy/paste button.
When fileling a bug report it is a simple copy/paste of the info to include in the bug report.
by EddyG
Tuesday 29 May 2018 9:12
Forum: Bugs and Problems
Topic: Signal 11 Crashes once every day ish - solved from 3.9530
Replies: 17
Views: 792

Re: Signal 11 Crashes once every day ish

Same here, but luckily Monit restarted my system every night at 00:00. I did not even notice until I looked at the log and the Uptime in Domoticz. I am on a Raspberry with: Version: 3.9517 Build Hash: 42645122 Compile Date: 2018-05-27 09:43:15 dzVents Version: 2.4.6 Python Version: 3.4.2 (default, O...
by EddyG
Thursday 24 May 2018 19:38
Forum: Bugs
Topic: Headers not always working [SOLVED]
Replies: 1
Views: 226

Re: Headers not always working [SOLVED]

My BAD. Not a bug, only my syntax skils are buggy.
by EddyG
Thursday 24 May 2018 19:27
Forum: Examples & Solutions
Topic: Async solution for getting openUV data with API Key (no longer kind of )
Replies: 3
Views: 294

Re: (kind of) async solution for getting openUV data with API Key

My bad (syntax BUG). This works. domoticz.openURL({ url = 'https://api.openuv.io/api/v1/uv?lat=<lat>&lng=<lon>', method = 'GET', callback = 'UV-data', headers = { ['x-access-token'] = '<api-key>' }, And later to get the UV from the response: local UVvalue = item.json.result.uv
by EddyG
Thursday 24 May 2018 19:26
Forum: Temperature and Weather
Topic: Translate curl command to get UV data to URL
Replies: 6
Views: 406

Re: Translate curl command to get UV data to URL

My bad (syntax BUG). This works. domoticz.openURL({ url = 'https://api.openuv.io/api/v1/uv?lat=<lat>&lng=<lon>', method = 'GET', callback = 'UV-data', headers = { ['x-access-token'] = '<api-key>' }, And later to get the UV from the response: local UVvalue = item.json.result.uv
by EddyG
Thursday 24 May 2018 18:49
Forum: Examples & Solutions
Topic: Async solution for getting openUV data with API Key (no longer kind of )
Replies: 3
Views: 294

Re: (kind of) async solution for getting openUV data with API Key

Nice solution. I filled a bug report in the dzVents section for the problem with the header. I hope that Dannybloe can solve that. If that problem is solved, I think you should include this in your buienradar script. Perhaps you could then also get 'cloudCover' from https://api.darksky.net/forecast/...
by EddyG
Thursday 24 May 2018 8:56
Forum: Bugs
Topic: Headers not always working [SOLVED]
Replies: 1
Views: 226

Headers not always working [SOLVED]

@Dannybloe Please look at: viewtopic.php?f=12&t=23554

I also tried to get that header in the asynchronous http request, but my domoticz crashed.
It would be nice if that header worked too.
by EddyG
Saturday 05 May 2018 13:44
Forum: Bugs and Problems
Topic: Raspbian update warning!!!
Replies: 14
Views: 843

Re: Raspbian update warning!!!

I'd have a look at replacing the SD with one of these. https://www.engadget.com/2018/05/02/samsung-pro-endurance-microsd-card/ Only just released, it's a Micro SD focused on endurance. It is close to the same as the industrial line of Sandisk and those are not really expensive, you only need only 8...
by EddyG
Saturday 05 May 2018 9:45
Forum: Bugs and Problems
Topic: Raspbian update warning!!!
Replies: 14
Views: 843

Re: Raspbian update warning!!!

I did not update yet, but will after my holiday which starts today. So I do not take extra risks of leaving home with a non working system, or a lot of stress to get thing right again. But the difference is that I still boot from the same SD-card (industrial) with almost all the writes transfer to t...
by EddyG
Saturday 05 May 2018 9:17
Forum: Bugs and Problems
Topic: Raspbian update warning!!!
Replies: 14
Views: 843

Re: Raspbian update warning!!!

This is why I do an automated complete image of the SD-card every saturday at 03:00 and save it on an external NAS drive. I run my Raspberry/Domoticz from the SD-card, but with (almost) every write action to a tmpfs or an USB-drive. B.t.w I use an industrial SD-card from Sandisk for my system. The U...
by EddyG
Thursday 03 May 2018 6:58
Forum: Examples & Solutions
Topic: updateWeatherSensors (yet another buienradar script)
Replies: 100
Views: 5439

Re: updateWeatherSensors (yet another buienradar script)

I get this error a few times a day. 2018-05-02 22:40:03.477 Error: Error opening url: https://gadgets.buienradar.nl/data/raintext?lat=51.96&lon=5.56 2018-05-02 22:40:04.139 Error: dzVents: Error (2.4.5): WUS: Problem with trigger (not OK). Check it outError: 7103862 It seems that buienrader does not...
by EddyG
Wednesday 02 May 2018 13:50
Forum: Examples & Solutions
Topic: updateWeatherSensors (yet another buienradar script)
Replies: 100
Views: 5439

Re: updateWeatherSensors (yet another buienradar script)

I tested the seperate Chill temp and it works fine. B.t.w. I changed in the database the wind/chill device from subtype 4 to subtype 1 Then you get a Wind only device, but domoticz is fine with the fact that the script is still sending the the extra temp values. So now I got a converted (from Wind/C...
by EddyG
Tuesday 01 May 2018 18:26
Forum: Bugs and Problems
Topic: Good practice for updating beta's
Replies: 15
Views: 1367

Re: Good practice for updating beta's

Nice script. I copy because zipping is a little bit slower.
@Bartb This script should be executed by hand in an ssh shell, and should be named differently.
Every update overwrites the current scripts.
by EddyG
Tuesday 01 May 2018 11:55
Forum: Bugs and Problems
Topic: Good practice for updating beta's
Replies: 15
Views: 1367

Good practice for updating beta's

I copied the file 'updatebeta' to the file "update" and added an extra line. This line makes a copy from the entire domoticz dir to some other dir just before the update of the beta. This way you have copy of the current install and can easy revert back in case domoticz crashes like in 3.9389 Use th...
by EddyG
Tuesday 01 May 2018 11:04
Forum: Examples & Solutions
Topic: updateWeatherSensors (yet another buienradar script)
Replies: 100
Views: 5439

Re: updateWeatherSensors (yet another buienradar script)

DannyG wrote:
Monday 30 April 2018 23:39
just one request
barometer without decimals ;)
Rounded to 1 decimal, because that is the way it is used in the graphs.
by EddyG
Tuesday 01 May 2018 10:59
Forum: Examples & Solutions
Topic: updateWeatherSensors (yet another buienradar script)
Replies: 100
Views: 5439

Re: updateWeatherSensors (yet another buienradar script)

I can not figure out why this does NOT work. local function getUservars() require ('weatherSettings') end if not(pcall(getUservars)) then But only this WORKS! require ('weatherSettings') Anybody any idea :?: Funny thing! "if not(pcall(getUservars)) then" does NOT work, but "if pcall(getUservars) th...
by EddyG
Tuesday 01 May 2018 10:17
Forum: Examples & Solutions
Topic: updateWeatherSensors (yet another buienradar script)
Replies: 100
Views: 5439

Re: updateWeatherSensors (yet another buienradar script)

Hi EddyG, not quite sure what you propose. The "wind" device is already shown on both the temperature and the weather tab. If I mis-interpret your suggestion please let me know. What I mean is that there exists a "wind temp chill" device in your case "wind Rotterdam" These produce a device a in the...