Hello,
domoticz.log(tostring(domoticz.settings.location.latitude)) and domoticz.log(tostring(domoticz.settings.location.longitude)) send back "0" instead of configured values in Domoticz (Domoticz 2025.1, french locale, same if I switch to English), anyone seeing this too?
Thank you.
Search found 141 matches
- Sunday 17 August 2025 15:44
- Forum: dzVents
- Topic: Getting setting info to script
- Replies: 4
- Views: 2123
- Wednesday 12 February 2025 21:15
- Forum: Third party and supplementary tools
- Topic: Plugin Domoticz for Squeezebox / Logitech media server
- Replies: 19
- Views: 10244
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.
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.
- Monday 01 July 2024 19:54
- Forum: Python
- Topic: check if device creation was succesful
- Replies: 5
- Views: 1577
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")
- Saturday 08 June 2024 22:02
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...
- Thursday 06 June 2024 19:42
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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.
- Thursday 06 June 2024 19:40
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
Re: Python Plugin: ebusd
This is not a bug in the plugin, maybe in https://github.com/john30/ebusd-configuration...
- Monday 13 May 2024 19:39
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...
- Sunday 12 May 2024 14:14
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...
- Sunday 12 May 2024 10:20
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
Re: Python Plugin: ebusd
Messages ending with "-w" are writable: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?
Inside the message, the property "write" is "true":
- Saturday 11 May 2024 18:37
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
Re: Python Plugin: ebusd
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- Saturday 11 May 2024 18:20
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
Re: Python Plugin: ebusd
Thank you for the PR, integrated in version 2.1.1
- Saturday 11 May 2024 15:30
- Forum: Python
- Topic: Change SwitchType in extended plugin framework
- Replies: 2
- Views: 1328
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
https://github.com/domoticz/domoticz/pull/6079
- Saturday 11 May 2024 15:29
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
Re: Python Plugin: ebusd
I integrated your changes in version 2.1.0fantom 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
- Friday 10 May 2024 16:26
- Forum: Python
- Topic: Change SwitchType in extended plugin framework
- Replies: 2
- Views: 1328
- Friday 10 May 2024 12:05
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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
- Friday 10 May 2024 12:04
- Forum: Python
- Topic: Change SwitchType in extended plugin framework
- Replies: 2
- Views: 1328
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 ...
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 ...
- Thursday 09 May 2024 22:39
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...
- Thursday 09 May 2024 21:34
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...
- Thursday 09 May 2024 19:46
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...
- Thursday 09 May 2024 18:33
- Forum: Python
- Topic: Python Plugin: ebusd
- Replies: 178
- Views: 34527
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 ...