Page 5 of 9

Re: Python Plugin: ebusd

Posted: Sunday 18 March 2018 23:24
by Barberousse
pigloox wrote: Sunday 18 March 2018 18:18 10 seconds, I know it's little but it always worked before without any error
But now, with last beta and last plugin, I try to watch for timeout. Would you increase your refresh rate to 60s for instance, to see if the problem disappears? Depending on your feedback, I may relax the timeout condition.

Re: Python Plugin: ebusd

Posted: Monday 19 March 2018 8:32
by pigloox
Barberousse wrote: Sunday 18 March 2018 23:24 But now, with last beta and last plugin, I try to watch for timeout. Would you increase your refresh rate to 60s for instance, to see if the problem disappears? Depending on your feedback, I may relax the timeout condition.
Ok, I changed the value, I test a little longer and I tell you.

By cons, even with a value of 60s I feel that my widget is much less updated (up to 5 minutes and more for other). For a temperature reading, I think it's a lot

Re: Python Plugin: ebusd

Posted: Monday 19 March 2018 14:33
by Barberousse
pigloox wrote: Monday 19 March 2018 8:32 Ok, I changed the value, I test a little longer and I tell you.

By cons, even with a value of 60s I feel that my widget is much less updated (up to 5 minutes and more for other). For a temperature reading, I think it's a lot
Could you try version 1.2.4? Temperature are not changing that quickly I think, but it depends on your needs...

Re: Python Plugin: ebusd

Posted: Monday 19 March 2018 16:20
by Barberousse
By the way, I still have 4 PCB of eBus USB Adapter (https://www.mikrocontroller.net/topic/346833), I can send remaining ones for free to the first ones that send me a stamped envelope, send me a private message if interested.

Re: Python Plugin: ebusd

Posted: Monday 19 March 2018 22:03
by pigloox
Barberousse wrote: Monday 19 March 2018 14:33
Could you try version 1.2.4? Temperature are not changing that quickly I think, but it depends on your needs...
So,

With 60s, no timeout errors but before, for the temperature, it seemed to me that the update of the widget was done more regularly. There, for example, the last update goes back to 1h

I'll test 1.2.4 and i'll tell u

Re: Python Plugin: ebusd

Posted: Monday 19 March 2018 23:16
by Barberousse
pigloox wrote: Monday 19 March 2018 22:03 There, for example, the last update goes back to 1h
On the versions starting 1.2.2, updates are sent to Domoticz only on refresh time AND if the device value has changed, it prevents domoticz database overloads, and it makes more sense, for instance for a selector switch, instead of filling the database with the same value every x seconds.

Re: Python Plugin: ebusd

Posted: Saturday 08 September 2018 7:36
by Lachris
Hello,

Maybe a stupid question but can you make changes to the boiler with this hardware/plugin?

How does it look like in Domoticz? :)

Re: Python Plugin: ebusd

Posted: Saturday 08 September 2018 9:46
by Barberousse
Lachris wrote: Saturday 08 September 2018 7:36Maybe a stupid question but can you make changes to the boiler with this hardware/plugin?

How does it look like in Domoticz? :)
There is no stupid question.

Yes you can, some parameters or the boiler are read/write, for instance:

Screenshot_20180908_093233.png
Screenshot_20180908_093233.png (33.52 KiB) Viewed 2512 times

Screenshot_20180908_093517.png
Screenshot_20180908_093517.png (44.5 KiB) Viewed 2512 times

Screenshot_20180908_093757.png
Screenshot_20180908_093757.png (26.98 KiB) Viewed 2512 times

Sometimes it's difficult to understand what are the parameters for, but I can help, do you have a specific need?

Re: Python Plugin: ebusd

Posted: Saturday 08 September 2018 10:50
by Lachris
Wow it looks nice :)

Can you set the day and night tempeture on the boiler for the heating.

Can you turn on the boiler when you need it?

Example if you have a room that needs heating, it turns on the boiler and valve get set to max?

My biggest problem is i still need the hardware :)

Re: Python Plugin: ebusd

Posted: Saturday 08 September 2018 13:34
by Barberousse
Lachris wrote: Saturday 08 September 2018 10:50Can you set the day and night tempeture on the boiler for the heating.

Can you turn on the boiler when you need it?

Example if you have a room that needs heating, it turns on the boiler and valve get set to max?
I guess it depends on your specific boiler model. On mine, I can set it with f47:Hc1DayTemp f47:Hc1NightTemp for my first heating circuit but cannot find the temperature registers for the mixing circuit of my second heating zone:

Screenshot_20180908_133715.png
Screenshot_20180908_133715.png (27.57 KiB) Viewed 2498 times

In my dzVents script example, I switch between holidays and normal mode depending on a virtual switch "Mode absence" where I use Domoticz planning feature.

You can also switch between auto/night/on/summer mode for each heating circuit with f47:Hc1OPMode for 1st zone and mc:InternalOperatingMode470 for 2nd zone on my installation. This can be done using dzVents or Blocky scripts or from interface:

Screenshot_20180908_093233.png
Screenshot_20180908_093233.png (33.52 KiB) Viewed 2499 times

Re: Python Plugin: ebusd

Posted: Sunday 30 September 2018 18:50
by fantom
After disconnected ebus i have bug:
2018-09-30 17:44:47.802 Error: (ebus) Error from telnet client: no signal
2018-09-30 17:44:52.814 Error: (ebus) Error from telnet client: no signal
2018-09-30 17:45:02.837 Error: (ebus) Error from telnet client: no signal
2018-09-30 17:45:07.799 Error: (ebus) Error from telnet client: no signal
2018-09-30 17:59:45.188 Error: (ebus) Timeout during handleFifo, restart plugin
2018-09-30 17:59:45.190 Error: (ebus) 'onHeartbeat' failed 'KeyError'.
2018-09-30 17:59:45.190 Error: (ebus) ----> Line 914 in '/home/pi/domoticz/plugins/DomoticzEbusd/plugin.py', function onHeartbeat
2018-09-30 17:59:45.190 Error: (ebus) ----> Line 853 in '/home/pi/domoticz/plugins/DomoticzEbusd/plugin.py', function onHeartbeat

version 1.2.9

Fantom

Re: Python Plugin: ebusd

Posted: Sunday 30 September 2018 19:24
by Barberousse
fantom wrote: Sunday 30 September 2018 18:50 After disconnected ebus i have bug:
Hello,

What do you mean by "after disconnected ebus", can you be more specific on the way to reproduce the bug ?

Thank you.

Re: Python Plugin: ebusd

Posted: Monday 01 October 2018 7:42
by fantom
I'm not sure. I do not remember.
I stopped ebusd daemon or disconnected ebus wire or disconnected ebus converter board form RPi.

Re: Python Plugin: ebusd

Posted: Thursday 04 October 2018 14:12
by Barberousse
fantom wrote: Monday 01 October 2018 7:42 I'm not sure. I do not remember.
I stopped ebusd daemon or disconnected ebus wire or disconnected ebus converter board form RPi.
Ok, I'll see what I can do in next version, not an easy one though, when telnet is forced disconnected, it seems to be done asynchronously with the hearbeat function...

Re: Python Plugin: ebusd

Posted: Thursday 04 October 2018 21:23
by Barberousse
fantom wrote: Sunday 30 September 2018 18:502018-09-30 17:45:07.799 Error: (ebus) Error from telnet client: no signal
2018-09-30 17:59:45.188 Error: (ebus) Timeout during handleFifo, restart plugin
2018-09-30 17:59:45.190 Error: (ebus) 'onHeartbeat' failed 'KeyError'.
2018-09-30 17:59:45.190 Error: (ebus) ----> Line 914 in '/home/pi/domoticz/plugins/DomoticzEbusd/plugin.py', function onHeartbeat
2018-09-30 17:59:45.190 Error: (ebus) ----> Line 853 in '/home/pi/domoticz/plugins/DomoticzEbusd/plugin.py', function onHeartbeat
Could you try version 1.3.0?

Re: Python Plugin: ebusd

Posted: Tuesday 30 October 2018 10:16
by misko903
Hello,
my ebusd plugin keeps me reminding:
raspberrypi:Domoticz Plugin Updates Available for ebusd bridge
ebusd bridge has updates available!!


I have installed plugin throug Python plugins manager. How can I update it, through PPM?

Thank you,
Michal

Re: Python Plugin: ebusd

Posted: Tuesday 30 October 2018 10:27
by Barberousse
misko903 wrote: Tuesday 30 October 2018 10:16 I have installed plugin throug Python plugins manager. How can I update it, through PPM?
I don't use PPM, but it should be automatic... I see that you asked the question on PPM thread too, but no answer yet, I guess I have to test PPM myself, last time I wasn't very successful.

Re: Python Plugin: ebusd

Posted: Tuesday 30 October 2018 10:32
by Barberousse
misko903 wrote: Tuesday 30 October 2018 10:16 I have installed plugin throug Python plugins manager. How can I update it, through PPM?
Now I remember, I already pushed a patch because PPM doesn't work on some git versions or on localized versions, cf. here: https://github.com/ycahome/pp-manager/pull/8

I was during May, it's still not merged, it seems that the project is dead.

Re: Python Plugin: ebusd

Posted: Sunday 04 November 2018 20:22
by misko903
Barberousse wrote: Tuesday 30 October 2018 10:32
misko903 wrote: Tuesday 30 October 2018 10:16 I have installed plugin throug Python plugins manager. How can I update it, through PPM?
Now I remember, I already pushed a patch because PPM doesn't work on some git versions or on localized versions, cf. here: https://github.com/ycahome/pp-manager/pull/8

I was during May, it's still not merged, it seems that the project is dead.
solved! You just need to repeat the installation procedure - it was working for me.
https://www.domoticz.com/wiki/Python_Plugin_Manager

Thank you,
Michal

Re: Python Plugin: ebusd

Posted: Wednesday 23 January 2019 22:55
by Gertschi
Hello, I also use the ebusd plugin.Great work!!! Everything has worked so far.

The two entries

Code: Select all

mc:OperatingMode hwc:OperatingMode
provided each a selector-switch, with the working buttons for mc: "Auto, Eco, Heizen, Absenken, On" and for the hwc: "Off, On, Auto" (I do not remember the order).

Now I have removed all my tested components and created all needed again. Now the two entries deliver a selctor-switch in the devicelist, but the switches are created as normal-switches (without buttons).
Devicelist.JPG
Devicelist.JPG (22.64 KiB) Viewed 2083 times
mc.JPG
mc.JPG (31.15 KiB) Viewed 2083 times
I have tried:
to remove all devices
Remove hardware in the list
Restart Domoticz
all sorts of other entries

What am I doing wrong?