I made a second SM meter using a Wemos powered by the meter.
It sends the different values via MQTT by using different topics.
On a different PI I subscribe to these topics and by using JSON methode they are transmitted to Domoticz.
For the electricity I used the JSON contianing the 6 values..
In Domoticz I choosed the P1 “meter”.
The result is that there is only 1 meter in the devices window.
So I do something wrong. I will post the Python script and the screen dumps of the configuration later this evening.
P1 only one meter available.
Moderator: leecollings
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
P1 only one meter available.
- Attachments
-
- f3.png (12.31 KiB) Viewed 840 times
-
- f2.png (94.28 KiB) Viewed 840 times
-
- f1.jpg (56.16 KiB) Viewed 840 times
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: P1 only one meter available.
2 more files.
- Attachments
-
- electra.py.zip
- (730 Bytes) Downloaded 36 times
-
- f4.png (49.93 KiB) Viewed 839 times
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 only one meter available.
Hello, @willem9136
I see, that you have created 2 identical sensors, both called P1. That is very confusing and I'm not sure that it will work correct.
Why is that needed?
Regarding updating your sensor, have a look into the Wiki https://www.domoticz.com/wiki/Domoticz_ ... n_counters
Regards
I see, that you have created 2 identical sensors, both called P1. That is very confusing and I'm not sure that it will work correct.
Why is that needed?
Regarding updating your sensor, have a look into the Wiki https://www.domoticz.com/wiki/Domoticz_ ... n_counters
Regards
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: P1 only one meter available.
Why do you say I use 2 identical sensors? If I choose the GAS sensor it is automaticaly part of the P1 meter.
Look at attachement f3.png
Look at attachement f3.png
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: P1 only one meter available.
And you can see I transmit 3 parameters to this IDX.
I don't have delivery backward. No panels or Windmills.
curl -s "http://192.168.2.235:8080/json.htm?type ... 0;00.176;0"
I don't have delivery backward. No panels or Windmills.
curl -s "http://192.168.2.235:8080/json.htm?type ... 0;00.176;0"
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 only one meter available.
Hello @willem9136
On the first row:
- Custom sensor, called "Daglicht"
- Gas meter, called "Gas"
- P1 Smart Meter, Energy, called P1
All 3 sensors timed out (red bar)
On the second row:
- P1 Smart Meter, Energy, called P1
So I see 2 P1 Smart Meter, Energy, called P1.
For both the type is P1 Smart Meter, but the sub-type is Gas, resp Energy.
Similar you will see IDX 7 is Type "General" but also IDX 9 is a Custom Sensor with Type General.
But I do not understand what the problem/question is.
Regards
If I look to your screenshot, marked f4.png I see:Why do you say I use 2 identical sensors?
On the first row:
- Custom sensor, called "Daglicht"
- Gas meter, called "Gas"
- P1 Smart Meter, Energy, called P1
All 3 sensors timed out (red bar)
On the second row:
- P1 Smart Meter, Energy, called P1
So I see 2 P1 Smart Meter, Energy, called P1.
No, you have created the separate virtual sensors yourself. See your screenshot f2.png and IDX 10 (Gas) and 11 (Energy)If I choose the GAS sensor it is automatically part of the P1 meter.
For both the type is P1 Smart Meter, but the sub-type is Gas, resp Energy.
Similar you will see IDX 7 is Type "General" but also IDX 9 is a Custom Sensor with Type General.
I did, but what should I see related to the question?Look at attachement f3.png
But I do not understand what the problem/question is.
Regards
Last edited by FireWizard on Saturday 06 March 2021 17:07, edited 2 times in total.
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: P1 only one meter available.
I think the problem has been solved. My expectations were different.
I was expecting more meters like a meter for the current usage and a meter for the total of the tarif 1 and tarif 2 values, current and voltage etc...
Sorry for the confusing.
I was expecting more meters like a meter for the current usage and a meter for the total of the tarif 1 and tarif 2 values, current and voltage etc...
Sorry for the confusing.
Who is online
Users browsing this forum: No registered users and 1 guest