Search found 36 matches

by magicduck
Monday 11 September 2023 18:14
Forum: Python
Topic: Plugin : DomoticzEx vs Domoticz imports?
Replies: 2
Views: 344

Re: Plugin : DomoticzEx vs Domoticz imports?

Thanks...

Now I have to figure why I have mem leaks... and some deadlocks :D
by magicduck
Monday 11 September 2023 18:11
Forum: Dashticz
Topic: Concat 2 values in dash?
Replies: 3
Views: 457

Re: Concat 2 values in dash?

Well... This is not really what I was looking for... But... mostly (on my example) something like : blocks['PV] = { title: 'PV', icon: 'fas fa-solar-panel', unit: ' Watts', values:[ { idx: CPV+'_1', }, { idx: CPV2+'_2', }, ], mathvalues: 'sum', In this case is we have in CPV_1 = 300 (Watts), and ...
by magicduck
Sunday 10 September 2023 17:49
Forum: Python
Topic: Plugin : DomoticzEx vs Domoticz imports?
Replies: 2
Views: 344

Plugin : DomoticzEx vs Domoticz imports?

Hello,

I would like what kind of improovment we can have to upgrade "import Domoticz" vs "import DomoticzEx as Domoticz", on a python plugin.

It is more thread safe ? Do it have a better memory manangement etc... ?

Kind regards,
by magicduck
Sunday 10 September 2023 17:47
Forum: Dashticz
Topic: Concat 2 values in dash?
Replies: 3
Views: 457

Concat 2 values in dash?

Hello, I have 2 PV counters on Domoticz, and I would like to concat the power generated into 1 values. var CPV = 3934; var CPV2 = 6022; // ... blocks[CPV] = { title: 'PV', idx: CPV+'_1', icon: 'fas fa-solar-panel', unit: ' Watts', }; blocks[CPV2] = { title: 'PV Mur', idx: CPV2+'_1', icon: 'fas fa ...
by magicduck
Tuesday 24 January 2023 11:56
Forum: Bugs
Topic: Dashticz and Domoticz beta > 14857
Replies: 5
Views: 1108

Re: Dashticz and Domoticz beta > 14857

Or maybe this is because my dashticz are dual stack and the code that handle ip address whitelist is not really good at it should. As a network engineer, I am always shocked about : 127.0.0.*;192.168.0.* instead of using CIDR... (will have to find the code and propose a PR...)
by magicduck
Tuesday 24 January 2023 11:54
Forum: Bugs
Topic: Dashticz and Domoticz beta > 14857
Replies: 5
Views: 1108

Re: Dashticz and Domoticz beta > 14857

My domoticz is behind a nginx. I have on the location : location / { rewrite /(.*) /$1 break; proxy_connect_timeout 60; proxy_read_timeout 60; proxy_send_timeout 60; proxy_intercept_errors off; proxy_http_version 1.1; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy ...
by magicduck
Monday 23 January 2023 8:51
Forum: Bugs
Topic: Dashticz and Domoticz beta > 14857
Replies: 5
Views: 1108

Dashticz and Domoticz beta > 14857

Hello, According to https://www.domoticz.com/wiki/Security, the access to API with user and password in URL are not accepted anymore. For unknown reasons (try to figure why), the whitelisting on domoticz doesn't seems to work on my system (trying to figure why) so access to json.htm is returned by ...
by magicduck
Friday 02 December 2022 11:14
Forum: dzVents
Topic: dzVents and multiselector switch. [Solved]
Replies: 2
Views: 722

dzVents and multiselector switch. [Solved]

Hello, I have some selector switch (virtual device) who has Off/Hors-Gel/Eco/Confort. Here is the code : -- Script de gestion du chauffage dans l'extension si jours blanc ou rouges return { on = { devices = { idx_edf_color, -- EDF - Couleur du jour idx_edf_tarif, -- EDF Tarif en cours idx_fp_chalet ...
by magicduck
Wednesday 19 October 2022 18:51
Forum: dzVents
Topic: Alert Sensor as input. [Solved!]
Replies: 2
Views: 275

Re: Alert Sensor as input.

Thanks :) This works like a charm ! :D
by magicduck
Monday 17 October 2022 23:10
Forum: dzVents
Topic: Alert Sensor as input. [Solved!]
Replies: 2
Views: 275

Alert Sensor as input. [Solved!]

Hello, I have the following sensor (EcoDevices) that can have 2 values (General Alert sensor -> 1 -> Heures Creuses 2 -> Heures Pleines I don't know how to make simple actions about this sensor in dzVents (seems I am one of the strange people who likes to know how to do that). Here is my code... If ...
by magicduck
Thursday 20 May 2021 11:46
Forum: Python
Topic: Python plugin: DDS238-2 ZN/S Modbus over TCP
Replies: 2
Views: 757

Python plugin: DDS238-2 ZN/S Modbus over TCP

Hello, I am pleased to announce I have finally finished my own plugin for power meters Hikking (and compatibles) DDS238-2 ZN/S Modbus over TCP. It is at : https://github.com/xbeaudouin/domoticz-ds238-modbus-tcp (mirror from my own git repos). Hope you be pleased to use this plugin... Feel free to ...
by magicduck
Tuesday 04 May 2021 16:00
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 125757

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Thanks for developing this nice plugin. I am trying to use this plugin with an EASTRON SDM120M Modbus coupled to an RS485 USB stick on a Raspberry PI in Domoticz. I am able to read the values from the device directly in the commandline with a tool, leading me to the conclusion that the hardware ...
by magicduck
Sunday 02 May 2021 18:35
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 125757

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Hi there

I see there 3 modules in this project : modbus-read/modbus-write, but there is modbus-device. Since @domoticX is the maintainer of this project, does modbus-device is ready for usage, or it is dead project?
Regards,
Xavier
by magicduck
Wednesday 23 September 2020 7:33
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 17729

Re: Dashticz Graphs - Features, Fixes & Updates

Well I have 3 values on my graph (french electricity) : - Heures Pleine (eg costly electricity : from 6:00 to 22:00) aka v2_213 - Heures Creuse (eg very cheap electricty : from 22:00 to 6:00) aka v_213 - PV (Solar panels) that is in green (well... depending of the sun) aka v_2120 So to have the last ...
by magicduck
Tuesday 22 September 2020 9:13
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 17729

Re: Dashticz Graphs - Features, Fixes & Updates

Hello, I currently have an issue with the graph stuff... Maybe I have missed something, but it seem the graph stop to be done between 21:30 to 6:25 in the night. (See caption). My graph config is : // EDF / PV blocks['multi1'] = { title: 'PV | EDF', devices: [ 2120, 213], datasetColors: [ 'rgba(92 ...
by magicduck
Sunday 24 May 2020 16:24
Forum: Other questions and discussions
Topic: Adding Worx Landroid
Replies: 4
Views: 3590

Re: Adding Worx Landroid

I have an "old" Worx (with the app : Worx Mover). I have just made some quick dzvents script : -- Your Worx Landroid M informations local worx_ip = "192.168.x.Z" local worx_pin = "0000" -- Update the virtual devices local update_devices = 1 -- 0 = no update / 1 = update local idxbat = 1234 ...
by magicduck
Tuesday 07 April 2020 8:27
Forum: Dashticz
Topic: Dashticz Coronavirus - Features, Fixes & Updates
Replies: 52
Views: 5892

Re: Dashticz Coronavirus reporting

This is strange on chrominium on RPI the graphics is missing...
by magicduck
Tuesday 03 March 2020 15:07
Forum: Python
Topic: Python script for Tesla actions
Replies: 10
Views: 2677

Re: Python script for Tesla actions

Really nice work. Better than mine... (was out of time).
So I can delete my start of work, and rely on native domoticz Tesla support :)
Many thanks :p
by magicduck
Wednesday 08 January 2020 13:26
Forum: Python
Topic: Python Plug: Tesla
Replies: 6
Views: 983

Re: Python Plug: Tesla

Thanks,
About "holding the main domoticz thread". How can I be sure?

Also I have on my log some :

Code: Select all

2020-01-08 08:57:51.513  Error: Gizmo hardware (23) thread seems to have ended unexpectedly
Still want to know what is this thread, and why this has ended... ?
by magicduck
Wednesday 08 January 2020 11:29
Forum: Python
Topic: Python script for Tesla actions
Replies: 10
Views: 2677

Re: Python script for Tesla actions

Hello there.
Working on a Tesla Plugin for Domoticz.
I am open to any contributions and test... (currently started work, so it does not work yet...).
See : https://www.domoticz.com/forum/viewtopi ... 65&t=30812
Regards