Search found 140 matches

by Barberousse
Wednesday 12 February 2025 21:15
Forum: Third party and supplementary tools
Topic: Plugin Domoticz for Squeezebox / Logitech media server
Replies: 19
Views: 9709

Re: Plugin Domoticz for Squeezebox / Logitech media server

Hello,

I changed the repository URL again (not enough activity again, site closed by provider), look at https://guillaumezin.github.io/DomoticzControl

Hopefully https will fit any installations.
by Barberousse
Monday 01 July 2024 19:54
Forum: Python
Topic: check if device creation was succesful
Replies: 5
Views: 1515

Re: check if device creation was succesful

DomoticzEx.Unit(Name="Kilo Watts", DeviceID="Power", Unit=16, TypeName="kWh").Create() I would check if device is in Devices: if ("Power" in Devices) and (16 in Devices["Power"].Units): ... else: Domoticz.Error("Device creation failed")
by Barberousse
Saturday 08 June 2024 22:02
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

But 0 equal "selected" (in domoricz 0 = "empty") And 40 should be empty. Levels in domoticz are not the same as index in Json. But I agree on one point, the sorting is not correct. It's fixed in version 2.1.6. Affected devices should be deleted, then restart Domoticz or got in the plugin parameter ...
by Barberousse
Thursday 06 June 2024 19:42
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

And the empty value is expected, it is the "Off" value, but there is no off state on this device, that's why "Hide off level" is enabled.
by Barberousse
Thursday 06 June 2024 19:40
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

fantom wrote: Monday 03 June 2024 16:33 Do You fix this bug?
ebusselected.png
ebusselected.png (4.05 KiB) Viewed 1779 times
This is not a bug in the plugin, maybe in https://github.com/john30/ebusd-configuration...
by Barberousse
Monday 13 May 2024 19:39
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

Something is wrong, but I don't see bug in code For me, the error is that "write" is "true" in StatusCirPump, but StatusCirPump-w doesn't exist, so the plugin decides that this is a read-only device. And in that case, I think that the plugin is right. Ebus declares it wrongly, I don't know why, but ...
by Barberousse
Sunday 12 May 2024 14:14
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

So I understood correctly from the code. In my json i have only two nodes with write = true and zero with "-w". But in domoticz i have many of devices for write. For exammpel setpoints and selectors. And all devices for write, i have like "read only". Are you reading your json with write get ...
by Barberousse
Sunday 12 May 2024 10:20
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

fantom wrote: Sunday 12 May 2024 8:50 I don't understand which device is writable.
Can show me one node from json and which parameter indicates this?
Messages ending with "-w" are writable:
messageebuswritable.png
messageebuswritable.png (5.2 KiB) Viewed 2020 times
Inside the message, the property "write" is "true":
messageebuswritable2.png
messageebuswritable2.png (17.01 KiB) Viewed 2019 times
by Barberousse
Saturday 11 May 2024 18:37
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

fantom wrote: Saturday 11 May 2024 16:13 "mbar" milibars ? megabars ?
Probably millibar, but I'm not sure, see below, the first is mbar (the only one I have), the second is bar :

Code: Select all

read WaterpressureVariantSum
65493

read WaterPressure
1.559;ok
And the pressure device type in Domoticz handles bar only...
by Barberousse
Saturday 11 May 2024 18:20
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

fantom wrote: Saturday 11 May 2024 16:04 Something is wrong
Thank you for the PR, integrated in version 2.1.1
by Barberousse
Saturday 11 May 2024 15:30
Forum: Python
Topic: Change SwitchType in extended plugin framework
Replies: 2
Views: 1273

Re: Change SwitchType in extended plugin framework

And I created a PR to be able to change by type/subtype/switchtype like normal plugin framework

https://github.com/domoticz/domoticz/pull/6079
by Barberousse
Saturday 11 May 2024 15:29
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

fantom wrote: Friday 10 May 2024 9:34 I created PR with showing level name instead of index
https://github.com/domoticz/domoticz/pull/6077

and PR for more date/time icon
https://github.com/guillaumezin/DomoticzEbusd/pull/12
I integrated your changes in version 2.1.0
by Barberousse
Friday 10 May 2024 16:26
Forum: Python
Topic: Change SwitchType in extended plugin framework
Replies: 2
Views: 1273

Re: Change SwitchType in extended plugin framework

I created a PR to add On/Off and Fan TypeName:

https://github.com/domoticz/domoticz/pull/6078
by Barberousse
Friday 10 May 2024 12:05
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

And I created a question here because I think I encountered a bug with extended plugin framework: https://www.domoticz.com/forum/viewtopic.php?t=42330
by Barberousse
Friday 10 May 2024 12:04
Forum: Python
Topic: Change SwitchType in extended plugin framework
Replies: 2
Views: 1273

Change SwitchType in extended plugin framework

Hello, How do you revert to on/off switch with extended plugin framework? The Update() method of Unit object allow only TypeName (not Type / SubType / SwitchType) as parameter to change a switch type. If I create a switch as "Contact" TypeName, it seems that I cannot come back to standard on/off ...
by Barberousse
Thursday 09 May 2024 22:39
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

And what do You set in nvalue? And i don't know, why first value on list is empty ps. Maybe this need to be general/selector ? nor switch with level. I think nvalue is ignored. I need to check for first value empty, it's weird. This should be general selector, I think you have text because you ...
by Barberousse
Thursday 09 May 2024 21:34
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

Edit: Ok. This nvalue is selector index * 10. That this is small bug for showing value I think. That's the normal behavior, Domoticz show the Set Level in devices tables (index of selector switch x 10 as you guessed), but in the interface, you should have a selector switch positioned at the right ...
by Barberousse
Thursday 09 May 2024 19:46
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

And maybe device on/off can have another type in domoticz ? "On/Off" instead "contact". I'm not sure ... It depends if device is writable. If it is writable and you didn't set read-only in parameters, the device will be created as on/off. But you are free to change that by editing the device in ...
by Barberousse
Thursday 09 May 2024 18:33
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

1) Maybe Fan device is better for 1/min 2) Domoticz have something like "counter" also. But I don't know how it works etc. 3) Who damages big numbers ? plugin or domotcz ? 1) I will check if other uses for 1/min unit before 2) I know counter quite well because I did some changes on it myself in ...
by Barberousse
Thursday 09 May 2024 17:32
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 33232

Re: Python Plugin: ebusd

Yes. I deleted hardware and created again. Indeed, I checked my code and deleting is not mandatory if the device type change, it's changed in Domoticz automatically. I published a 2.0.8 version that map percentage devices, improve yes/no and on/off device type detection and add an option in read ...