Search found 400 matches

by jake
Friday 10 August 2018 18:59
Forum: Bugs and Problems
Topic: Sonoff(Tasmota) status not same as in Domoticz
Replies: 6
Views: 231

Re: Sonoff(Tasmota) status not same as in Domoticz

The best solution would be separate 'mqtt virtual hardware': a new status would only be set after an acknowledgement from the device itself.
by jake
Saturday 04 August 2018 22:23
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script
Replies: 109
Views: 13257

Re: dzVents version of the Solar Data Script

I decided to finaly replace the old LUA version of the script by the DzVents version. I copied the script from the initial post and came across these errors: line 207: if(sinAzimuth local sunstrokeDuration = math.deg(2/15 * math.acos(- math.tan(math.rad(latitude)) * math.tan(math.rad(declination))))...
by jake
Wednesday 01 August 2018 9:51
Forum: ESP8266
Topic: How to deal with randomly failed commands?
Replies: 9
Views: 821

Re: How to deal with randomly failed commands?

The sonoff devices do report their updated status, at least, when Tasmota is used. I wish it was implemented within domoticz that the status is only updated on the ack. command and not on the publish command.
by jake
Wednesday 25 July 2018 7:10
Forum: dzVents
Topic: garbage collector HVC into sensors with dzVents?
Replies: 7
Views: 376

Re: garbage collector HVC into sensors with dzVents?

I use also Dashticz and there they have defined options to display data for many different garbage companies, including hvc. I wouldn't know how to transform that for use in domoticz directly.
https://www.domoticz.com/wiki/Dashticz_ ... _Collector
by jake
Sunday 22 July 2018 13:37
Forum: General Discussion
Topic: Popping sound when turning off sound system
Replies: 5
Views: 648

Re: Popping sound when turning off sound system

[quote="thazand",] ... Does anyone have recommendations for an affordable amplifier that supports 5.1 or 6.1, Dolby Surround Pro Logic and doesn't pop when suddenly cutting it's power? Preferably I'd like to find a cheap second hand one.[/quote] I have an Onkyo 535. These models are not expensive a...
by jake
Friday 20 July 2018 10:23
Forum: Other questions and discussions
Topic: Domoticz DS18B20 and solid state relays on PC
Replies: 8
Views: 392

Re: Domoticz DS18B20 and solid state relays on PC

I used a pi1b for 2 years. It is fast enough to run domoticz. Please have a look on the wiki page how to enable logging in domoticz. When your pi is still up after a crash, you can see why domoticz crashed on you. Since it is domoticz crashing, it possibly will do the same on a pc?
by jake
Thursday 19 July 2018 19:02
Forum: dzVents
Topic: I don't know why it doesn't work
Replies: 14
Views: 632

Re: I don't know why it doesn't work

@waaren, I based my comment on the initial scripts. Now I see in your suggested improved script (which I think is much better in this situation) that you used the 'trigger' in your script as intended.
by jake
Thursday 19 July 2018 14:23
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script
Replies: 109
Views: 13257

Re: dzVents version of the Solar Data Script

@ waaren Thank you for your quick answer and the link. I'll do my best to try to understand the explanation and to create a dzvents event in domoticz but i am not a programmer at all :cry: All other parameters in the wuSettings file have been entered as asked. I also wasn't a programmer, but... Jus...
by jake
Thursday 19 July 2018 14:18
Forum: dzVents
Topic: I don't know why it doesn't work
Replies: 14
Views: 632

Re: I don't know why it doesn't work

:roll: Thanks a lot Waaren. It is working exactly how I wanted. What is the difference between: execute = function(domoticz, trigger) and execute = function(domoticz, Device)? Thanks again. Pascal [emoji14] :P Please check the wiki: https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripti...
by jake
Thursday 19 July 2018 10:47
Forum: Other questions and discussions
Topic: Domoticz DS18B20 and solid state relays on PC
Replies: 8
Views: 392

Re: Domoticz DS18B20 and solid state relays on PC

Quite a step to move to such overrated hardware to hopefully avoid a software error. Crashing every month is not normal. Have you been able to review the log of domoticz? Is the rpi crashing, or just domoticz? As an intermediate solution, you can always add a Cron job to reboot your pi once a day at...
by jake
Monday 16 July 2018 10:00
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 269
Views: 28975

Re: [RELEASED] Python plugin to control Onkyo receivers


ronald1977 wrote:Hi i have now update Domoticz to 4.9700 and I can see more of my Onkyo 609.
...
I assume you use the built in version for the Onkyo? That is not the same (topic) as this Python version.
by jake
Friday 13 July 2018 18:34
Forum: LUA
Topic: LUA – Virtual Solar Battery: simulate the presence of a battery for storing harvested solar energy
Replies: 36
Views: 2558

Re: LUA – Virtual Solar Battery: simulate the presence of a battery for storing harvested solar energy

Awesome idea :O I dont have a P1 meter, but have 3 solar panels and a SDM120 MODBUS that gives me negative values when im sending energy to the grid. Can you make a version of your script where it gets the information from the SDM120 dummy device (that has positive and negative values) and sends on...
by jake
Saturday 07 July 2018 17:39
Forum: Third party and supplementary tools
Topic: How to use an Onkyo Receiver
Replies: 4
Views: 1436

Re: How to use an Onkyo Receiver

Simply add your json command to the on command (edit) of a virtual switch that you can create yourself
by jake
Friday 06 July 2018 22:39
Forum: Others
Topic: cheap(er) p1-to-USB cable for smart meter (looking for a ...)
Replies: 18
Views: 2487

Re: cheap(er) p1-to-USB cable for smart meter (looking for a ...)

I have the smart meter connected through the gpio of the rpi. That is about free, besides 1 resistor. My colleague built it for me into a little network cable extension block (female-female), so I was able to use 2 regular telephone cables and easy disconnect the gpio to take the rpi out of the cabi...
by jake
Friday 06 July 2018 22:31
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 145
Views: 21780

Re: Python Plugin: Smart Virtual Thermostat

The plugin saves the « learning » in a dedicated user variable that it creates. Interesting, I'll have a look. I was not aware that a uservariable could be created . Thanks You can't create it, but you can 'modify' it, if you know what you're dining. Worst case you simply delete the content and let...
by jake
Saturday 30 June 2018 23:26
Forum: Bugs
Topic: At 'active = false,' the script is still monitored for errors
Replies: 1
Views: 235

At 'active = false,' the script is still monitored for errors

For a new script I always put the script inactive. But at 'active = false,' the script is still monitored for errors. This spams the log in a very high frequency.

It would be nice when this checking could be done in a third state: true, false, test (or debug)
by jake
Saturday 30 June 2018 13:40
Forum: dzVents
Topic: Use string to get defined variable
Replies: 4
Views: 378

Re: Use string to get defined variable

@waaren, thanks for this example script. You put a lot of work in it. I find it quite difficult to grasp the steps in your script, but I think I will just need to implement it and adapt to my original script needs. @dannybloe I wonder if it is really necessary to add all the functions to each script...
by jake
Friday 29 June 2018 9:07
Forum: dzVents
Topic: Use string to get defined variable
Replies: 4
Views: 378

Re: Use string to get defined variable

Please have a look at below example of storing devices (objects ) in a Lua table and get some of the attributes of the devices in a for loop. as an Array like Lua table ... Thanks, this saved my day. I am glad with your help, because the online examples didn't work for me. One more question: Now I ...
by jake
Thursday 28 June 2018 22:56
Forum: dzVents
Topic: Use string to get defined variable
Replies: 4
Views: 378

Use string to get defined variable

I have declared 5 variables (which define the 5 micro solar inverter devices) like this: local inv1 = domoticz.devices('11000xxx power') local inv2 = domoticz.devices('110007xxx power') local inv3 = domoticz.devices('1100xxx2 power') local inv4 = domoticz.devices('100xxxx9 power') local inv5 = domot...
by jake
Thursday 28 June 2018 20:14
Forum: Examples & Solutions
Topic: Automating my WTW (ventilation unit)
Replies: 13
Views: 1021

Re: Automating my WTW (ventilation unit)

sincze wrote:Nicely done.
I will be porting this solution (now Mysensors) to ESPEasy when I receive the parts from my dear friend Ali E.
Renovent.jpeg
Can you please share your shopping list at Uncle Alie?