Search found 17 matches

by giton
Friday 07 November 2025 10:25
Forum: Show your projects
Topic: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)
Replies: 6
Views: 175

Re: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)

Here an updated version of the script to handle 2 Airthings view plus 2960 devices

(Restart Domoticz after configuration if you do not get your devices updated in Domoticz)

Once the devices have been created, you can update the following script like this :


return {
active = true,

on ...
by giton
Thursday 16 October 2025 21:48
Forum: Show your projects
Topic: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)
Replies: 6
Views: 175

Re: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)


Why dkjson? Dzvents already has a JSON library...
And you can store the token in a user variable so no need to use a file for that.
And for fetch data do not use the external curl command but the dzvents asynchronous OpenUrl function. Much more reliable and not haltingvthe Domoticz system.

And ...
by giton
Thursday 16 October 2025 18:04
Forum: Show your projects
Topic: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)
Replies: 6
Views: 175

Re: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)


Thanks!
I did not check it completely but you could probably skip the python part and do the data retrieval from dzvents (login to airthings, get the json and update the Domoticz dummy devices). Makes things easier...
So something for another user to optimize....


Here a .lua script to be stored ...
by giton
Thursday 16 October 2025 9:22
Forum: Show your projects
Topic: Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)
Replies: 6
Views: 175

Radon - Airthings 2960 view plus (CO2, VOC, PM2.5, PM1, temp, humidity, pression and battery)

How to integrate airthings 2960 view plus in domoticz.

1) Buy your sensor, connect it to your wifi and configure it to get it active in the Airthings dashboard https://dashboard.airthings.com
2) Configure your account in the Airthings dashboard
Click 'Account
Change your 'User settings' to ...
by giton
Sunday 24 January 2021 22:19
Forum: Suggestions
Topic: P1 Smart Meter: add management of 3 phases Ampere data
Replies: 0
Views: 287

P1 Smart Meter: add management of 3 phases Ampere data

Hello,

I'm looking to have a new features integrated within Domoticz, but as not a developper, I cannot do more that simply requesting for it instead of using GitHub...
I have already opened the following issue on github: https://github.com/domoticz/domoticz/issues/4433

I have find out recently ...
by giton
Thursday 05 November 2020 19:48
Forum: Suggestions
Topic: 3-phase Ampere devices P1 Smart Meter
Replies: 4
Views: 930

Re: 3-phase Ampere devices P1 Smart Meter

An issue has been opened in GitHub to cover this enhancement: https://github.com/domoticz/domoticz/issues/4433
by giton
Tuesday 03 November 2020 12:12
Forum: Suggestions
Topic: 3-phase Ampere devices P1 Smart Meter
Replies: 4
Views: 930

Re: 3-phase Ampere devices P1 Smart Meter

@FireWizard

When looking here below on page 9 and 10 (https://energieverbrauchimblick.be/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdG9CIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--51373b461e44c6a2ec8e3acd910594d1b70d525a/e-MUCS_P1_Ed_1_4%20(1)%20(1).pdf?disposition=attachment ...
by giton
Monday 02 November 2020 22:04
Forum: Suggestions
Topic: 3-phase Ampere devices P1 Smart Meter
Replies: 4
Views: 930

3-phase Ampere devices P1 Smart Meter

I just would like to know if the following 3 IDs (Ampere per phase) being part of P1 Smart Meter could be integrated within Domoticz as per the following post: https://www.domoticz.com/forum/viewtopic.php?f=14&t=34255

1-0:31.7.0(003.58*A)
1-0:51.7.0(004.85*A)
1-0:71.7.0(003.93*A)

Ideally, Ampere ...
by giton
Saturday 31 October 2020 21:24
Forum: Utility
Topic: P1 with 3 phase. Development needed.
Replies: 15
Views: 5903

Re: P1 with 3 phase. Development needed.

Same request (more development) has been also requested through viewtopic.php?f=14&t=34255 as ampere per phase is avalaible now in mA and no more rounded to A.
by giton
Monday 19 October 2020 21:37
Forum: Utility
Topic: No device for each (3) phase Ampere with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 1
Views: 683

No device for each (3) phase Ampere with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)

Hello, I'm running Domoticz

Version: 2020.2
Build Hash: b63341bc0
Compile Date: 2020-04-26 13:47:55
dzVents Version: 3.0.2
Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]

Information from my P1 Smart Meter contains the following 3 Ampere values but adding the Hardware to ...
by giton
Sunday 30 August 2020 15:36
Forum: Python
Topic: Python plugin: modbus TCP - return negative values when the solar system return 0
Replies: 1
Views: 1305

Re: Python plugin: modbus TCP - return negative values when the solar system return 0

Hello, I have got the same problem as yours.

The negative value you have is due to the fact than your solar system produce « 0 » and instead of sending « 0 » to Domoticz, it send an hexa value « 0x8000 0000 »; it corresponds in signed decimal to « -2147483648 ». This code corresponds to the NaN ...
by giton
Sunday 23 August 2020 20:56
Forum: Utility
Topic: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 9
Views: 1978

Re: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)

Here the complete script to publish AmperMax value in a dashboard based on virtual device (idx 54).
In my schema here upper, only Ampers from flow 2 (in orange bullet with number 2) has to be considered (=incoming Ampers). Outgoing Ampers (generated by my solar energy system and sent to external ...
by giton
Sunday 23 August 2020 16:44
Forum: Utility
Topic: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 9
Views: 1978

Re: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)

To store the maximum Ampere I have created a user variable called 'AmpereMax' ( Setup > More options < User variables --> type is 'Float') and added the following lines at the end of the lua script:


local AmpereMaxVariable = domoticz.variables('AmpereMax').value -- change to name of your ...
by giton
Sunday 23 August 2020 13:35
Forum: Utility
Topic: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 9
Views: 1978

Re: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)

To get Amper consumed per second I have create lua script 'Ampere.lua' in /home/pi/domoticz/scripts/dzVents/scripts:
(depending on what you are looking for, you can adapt it accordingly)


return
{
on = { devices = { 'compteur - power' }}, -- 'name' or id of your P1 device
logging = {level ...
by giton
Friday 14 August 2020 16:12
Forum: Utility
Topic: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 9
Views: 1978

Re: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)

Ok, please find here below the full picture of what I'm looking for


Domoticz - schema.png

The objective is so to sum Ampers for Flow 1 and Flow 2 in my schema (see orange bullets)

My observations are:
- SBFSpot can only be triggered every minutes @the best
- SBFSpot Ampers are not precise ...
by giton
Saturday 08 August 2020 17:38
Forum: Utility
Topic: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 9
Views: 1978

Re: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)



P1 Smart Meter USB generates KWh graphs but no Ampere graphs.
No Ampere data seem to be integrated within Domoticz DB.

Is indeed not integrated. As amperage is a function of Watt and Voltage it would be quite easy to create virtual sensors and use a script to calculate an approximate amperage ...
by giton
Friday 07 August 2020 22:58
Forum: Utility
Topic: No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)
Replies: 9
Views: 1978

No Ampere graph with P1 Smart Meter (connected to Soconia T211 3 phase - Belgium)

I’m running Domoticz V2020.2 (c)2012-2020 GizMoCuz Build Hash: b63341bc0, Date: 2020-04-26 13:47:55

P1 Smart Meter USB generates KWh graphs but no Ampere graphs.
Data are effectivelly sent from my Soconia T211 (3 phase) to my PI:
# cat /dev/ttyUSB0
/FLU5\253769484_A

0-0:96.1.4(50213)
0-0:96.1.1 ...