Search found 20 matches

by leonmoonen
Friday 06 November 2020 17:32
Forum: Other questions and discussions
Topic: event when a domoticz error is logged?
Replies: 2
Views: 226

Re: event when a domoticz error is logged?

Thanks! that did help me get started. I ended up writing a crontab script that does both the check and the power-cycle instead of triggering a custom event, because that felt like a better fit in my use-case, but the payload in the script can be easily adapted to generate custom events. I'm posting ...
by leonmoonen
Tuesday 03 November 2020 19:11
Forum: Other questions and discussions
Topic: event when a domoticz error is logged?
Replies: 2
Views: 226

event when a domoticz error is logged?

Hi, I was wondering if it's possible to automatically trigger an action when a certain domoticz error occurs? Background: Once in a while my youless unit freezes, which shows up in the error log "<timestamp> Error: YouLess: Error connecting to: <ip-address>". I power the youless over a controllable ...
by leonmoonen
Wednesday 15 May 2019 10:45
Forum: Other questions and discussions
Topic: sudo apt-get update errors
Replies: 5
Views: 1705

Re: sudo apt-get update errors

emme wrote:do you have IPv6 enable?

because I had the same issue and was IPv6 related
I think in this case it’s really because wheezy is no longer available on those URLs in the /etc/apt/sources.list (nb, you can visit them with a webbrowser to check what is there)
by leonmoonen
Wednesday 15 May 2019 10:24
Forum: Other questions and discussions
Topic: sudo apt-get update errors
Replies: 5
Views: 1705

Re: sudo apt-get update errors

Here is description on how to update Wheezy to Jessie, but note that the current version is Stretch, so I’d advise to first go to Jessie, check if everything still works and then repeat the steps for Stretch. https://raspberrypi.stackexchange.com/questions/27858/upgrade-to-raspbian-jessie#27859 Note ...
by leonmoonen
Sunday 22 July 2018 11:52
Forum: Other questions and discussions
Topic: Blocky: Run LUA script with a delay of x seconds
Replies: 5
Views: 2807

Re: Blocky: Run LUA script with a delay of x seconds

Wow, I had fully expected that such ‘secondary’ scripts (i.e., started in a event handling script like blockly) would be executed on the background...

Is there a reason not to do so (except if you’d want to get a value back)?
by leonmoonen
Sunday 22 July 2018 11:21
Forum: Other questions and discussions
Topic: Blocky: Run LUA script with a delay of x seconds
Replies: 5
Views: 2807

Blocky: Run LUA script with a delay of x seconds

You could change the lua script so it starts with a delay/sleep. Here are some suggestions on building a sleep function in lua: http://lua-users.org/wiki/SleepFunction
by leonmoonen
Wednesday 14 March 2018 6:20
Forum: Other questions and discussions
Topic: reset kaku module
Replies: 10
Views: 1839

Re: reset kaku module

Erasing the memory of the APA3-1500R (translated from Dutch KAKU site): Unplug the receiver, wait at least 5 seconds before putting it back in. Now the LED will flash for 5 seconds. During this time, press the group button on the supplied remote control. The receiver will flash the connected lamp 2x ...
by leonmoonen
Tuesday 13 March 2018 15:42
Forum: Other questions and discussions
Topic: reset kaku module
Replies: 10
Views: 1839

reset kaku module

With the receiver (plugin switch) not plugged in, manually add a new switch in Domoticz (Switches tab, top left); choose switch type AC; choose a random code for the switch using the selectors; then plug in the receiver and press the test button (within 5-10seconds). Domotics functions as a remote ...
by leonmoonen
Friday 23 February 2018 20:07
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 28
Views: 11368

Re: Make blockly Else if to an actual else if

cool, sounds like I’ve just got a project to work on :)

and yes, that multi-condition situation should of course be supported too
by leonmoonen
Friday 23 February 2018 17:16
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 28
Views: 11368

Re: Make blockly Else if to an actual else if

I wasn't specifically referring to asf77's patch but let's say we have somehow come up with a magical patch that addresses the issue. I think that this does mean that the behavior would change and my question was aimed at finding out if that would be a reason to never accept the patch (there can be ...
by leonmoonen
Friday 23 February 2018 15:40
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 28
Views: 11368

Re: Make blockly Else if to an actual else if

Ok, it’s also clear now why I don’t see the issue, as all my conditions turn out to be mutually exclusive. One more question for @gizmocuz: Although technically ‘more correct’, fixing this behavior would break the logic of existing scripts. Would that be a concern for possibly ever accepting such a p ...
by leonmoonen
Friday 23 February 2018 5:30
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 28
Views: 11368

Make blockly Else if to an actual else if

The example was just to show that blocky outputs real ifs and elses and such. the blockly code is just jibberish but shows it's translated to real code. I understood that part, but you seem to say that Domoticz either doesn’t allow you to create that control flow, or that it interprets it wrongly. ...
by leonmoonen
Thursday 22 February 2018 17:31
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 28
Views: 11368

Make blockly Else if to an actual else if

I’m a bit lost in your argument... what do you think Domoticz is making of the blockly example you posted?
by leonmoonen
Saturday 17 February 2018 7:22
Forum: Other questions and discussions
Topic: RPi SD card duplicate
Replies: 17
Views: 3775

RPi SD card duplicate

I’ve been using rpi-clone to make backup clones of my pi’s sdcard, on the pi itself, using an USB sdcard adaptor for the target. Internally, it uses a combi of dd and rsync and it imprements logic to be a bit smarter than plain dd, both in terms of speed and in it’s ability to clone a running system ...
by leonmoonen
Monday 15 January 2018 2:08
Forum: Others
Topic: Speed-test
Replies: 3
Views: 2721

Re: Speed-test

Hi, Glad to hear things work OK now :) Just for your information: the script location should not matter, I typed that one from the top of my head but I now realize that placing things in the main domoticz directory may mean that they get deleted when you do an upgrade (I actually keep them in the ...
by leonmoonen
Saturday 13 January 2018 16:04
Forum: Others
Topic: Speed-test
Replies: 3
Views: 2721

Re: Speed-test

Hi, - [...] I don't see sensors in the utility menu -Yes the virtual sensors for ping, downstream and upstream did i make in Domoticz [...] The fact that you do not see the sensors (even with a value of 0) in the Utility tab makes me think something may have gone wrong with the virtual sensor setup ...
by leonmoonen
Saturday 13 January 2018 11:20
Forum: Others
Topic: Speed-test
Replies: 3
Views: 2721

Re: Speed-test

Hi, Can you explain in more detail what you mean with "And now i don't get errors, i get only the values what must be. But now i want to see it in domoticz and that is also a problem for me." - where do you get these values? on the command line? The sensors show up under the Utility menu for me ...
by leonmoonen
Friday 12 January 2018 12:33
Forum: Others
Topic: Speed-test
Replies: 3
Views: 2721

Re: Speed-test

I have a similar script running based on the package speedtest-cli (sudo apt-get install speedtest-cli) but considering the first line of your output, this is not important for issue you are experiencing, your script obtains valid speedtest values but fails in three curl lines at the end... (I've ...
by leonmoonen
Thursday 11 January 2018 18:23
Forum: RFLink Transceiver
Topic: RFlink upgrade
Replies: 15
Views: 4223

Re: RFlink upgrade

I read on RFlink when you upgrade the firmware ro R48 i can control MiLight using the NRF24L01 add-on module. yep, it’ll need that module to control your MiLights w/o having a ‘native’ MiLight controller in your network. I went the alternative route, adding a box milight controller which I use as a ...
by leonmoonen
Thursday 11 January 2018 16:09
Forum: RFLink Transceiver
Topic: RFlink upgrade
Replies: 15
Views: 4223

Re: RFlink upgrade

Hi All, I have a RFlink with only support for 433mhz devices. I want upgrade my RFlink so i can use all mhz possible frequencies. So i can control my MiLIght lamps as well Can someone help me how to do this? I'm afraid the above advices are sending you in the wrong way. If you want to control your ...