Hi Folks!
I successfully installed Mega on an ESP8266 Wemos D1 Board.
I am using the Board to count the impulses of me Power Meter SDM72 (S0 Port but no Modbus).
All works like a Charme but i wish to have more Values in the Interface, like Power Yesterday, Power Month, Power Year in kW/h.
All should be also transmitted via MQTT.
I come from Tasmota, but Tasmota Firmware dont work well at Counting, so i changed to ESP Easy.
Can anybody give me a hint how to add this Values? Or does anybody have similar already and would be so kind to give it to me?
ESP Easy Mega: Stromcount, more values?
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 4
- Joined: 17 Oct 2020, 00:24
Re: ESP Easy Mega: Stromcount, more values?
Well there can be upto 3 or 4 pulse counters in ESPEasy.
On an ESP82xx there aren't that many free GPIO pins capable of this anyway, so the software limitation of 4 of those per ESP isn't really a problem I guess.
A very recent addition is the 1-wire DS2423 counter.
I have not used it myself, nor implemented the plugin. But maybe that's something that could be useful here?
On an ESP82xx there aren't that many free GPIO pins capable of this anyway, so the software limitation of 4 of those per ESP isn't really a problem I guess.
A very recent addition is the 1-wire DS2423 counter.
I have not used it myself, nor implemented the plugin. But maybe that's something that could be useful here?
-
- New user
- Posts: 4
- Joined: 17 Oct 2020, 00:24
Re: ESP Easy Mega: Stromcount, more values?
oh...
i think this is a missunderstanding.
I dont want to add more Devices...
The existing one only counts the Pulse of the Power Meter. 1000 Pulse are 1 kw.
There is no Option to store this for hour, day, yesterday, month, year...
At Tasmota you have such Informations at the Webinterface of the Wemos.
But with Tasmota i have many misscounts at same Hardware configuration like with ESY Easy... I have no Plan why, so thats why i want to use ESY Easy
i think this is a missunderstanding.
I dont want to add more Devices...
The existing one only counts the Pulse of the Power Meter. 1000 Pulse are 1 kw.
There is no Option to store this for hour, day, yesterday, month, year...
At Tasmota you have such Informations at the Webinterface of the Wemos.
But with Tasmota i have many misscounts at same Hardware configuration like with ESY Easy... I have no Plan why, so thats why i want to use ESY Easy
Re: ESP Easy Mega: Stromcount, more values?
Ah OK.
Well you could create a dummy task in which you can store data (via rules)
The idea is that task values (incl. dummy tasks) are kept during a crash/reboot as long as the unit remains powered.
See the command taskvalueset: https://espeasy.readthedocs.io/en/lates ... skvalueset
And an example to compute water consumption (similar to what you're doing): https://espeasy.readthedocs.io/en/lates ... onsumption
Well you could create a dummy task in which you can store data (via rules)
The idea is that task values (incl. dummy tasks) are kept during a crash/reboot as long as the unit remains powered.
See the command taskvalueset: https://espeasy.readthedocs.io/en/lates ... skvalueset
And an example to compute water consumption (similar to what you're doing): https://espeasy.readthedocs.io/en/lates ... onsumption
-
- New user
- Posts: 4
- Joined: 17 Oct 2020, 00:24
Re: ESP Easy Mega: Stromcount, more values?
Thank you!TD-er wrote: ↑17 Oct 2020, 09:34 Ah OK.
Well you could create a dummy task in which you can store data (via rules)
The idea is that task values (incl. dummy tasks) are kept during a crash/reboot as long as the unit remains powered.
See the command taskvalueset: https://espeasy.readthedocs.io/en/lates ... skvalueset
And an example to compute water consumption (similar to what you're doing): https://espeasy.readthedocs.io/en/lates ... onsumption
That looks somehow exactly at what i am looking for. Tasmota do same with the script function in the Web Interface.
Sadly i am a Noob about scripting
Have really nobody done Rules for Counting Power Meters already? Sure its poor to ask about and not doing it myself but it can save me a lot of Time and Frustration, coz i am completly new at it
The Ferrari Meters are very popular and to Count via Optic Counter. But it Rules i think it dont matter if its Counting by Optic or by S0. The values are in the Counter already.
I also tried to find via Google but no success till now
Other Question:
Is it possible to publish the Time (Counter Value) at a local URL?
I need that to send it to the SMA Portal of my Power Inverter.
It should include the calculation in Watt already.
Example:
The Counter shows 4592 Counts. To Calc the present Power in Watt it looks like this:
3600/%value% (Counter) *1000
This Value i need at an IP in my local Network
Is that possible?
Re: ESP Easy Mega: Stromcount, more values?
Yes it is possible to send the values and also to apply the formula in the task itself.
But I guess it is better to have them computed in the rules.
Right now I don't have time to help writing those rules, but maybe someone else can already help you until I have time for it.
But I guess it is better to have them computed in the rules.
Right now I don't have time to help writing those rules, but maybe someone else can already help you until I have time for it.
-
- New user
- Posts: 4
- Joined: 17 Oct 2020, 00:24
Re: ESP Easy Mega: Stromcount, more values?
I was searching around but found nothing
is it possible to copy the value "time" to a "folder" at the ESP?
So i could see ONLY THIS alue by typing something like that into the Browser http://192.168.2.235/cm?cmnd=Status%208 ?
is it possible to copy the value "time" to a "folder" at the ESP?
So i could see ONLY THIS alue by typing something like that into the Browser http://192.168.2.235/cm?cmnd=Status%208 ?
Who is online
Users browsing this forum: No registered users and 62 guests