Closed Nonoose closed 1 year ago
Hi Thanks for the Dump. Your device is added to the Develop.
cd ~/domoticz/plugins/Domoticz-TinyTUYA-Plugin
git pull
git checkout Develop
sudo systemctl restart domoticz.service
To revert to the Master, change Develop to Master
It works like a charm, thanks a lot from France ;)
Perfect! I will add it to the master.
Sorry to reopen the case, I don't know if it's in your hands, but when I send electricity to the Grid, it's shown as electricity consumed from the grid. On the app, I see the correct current way by looking at the last digit of the live current value (1 for production, 0 for consumption) Is there a way to program this on the plugin ?
Can you send a visual of what you see and create a new 'dump.json' when it's producing? I need only the value of phase_a.
{
"code": "phase_a",
"value": "CNwAIbYAB3k="
}
Hello, Sorry for my late answer, it was not very sunny last days :) Here is the value when I produce :
{
"code": "phase_a",
"value": "CQ0AA10AAHM="
}
Hope it will help you
No problem, thanks for the value.
Hello, I've made 2 printscreens of the Tuya app : The one where "Current" ends by 1 is when I produce (last digit is always 1) The one where it ends by 0 is when I consume (always ends with 0) Hope it may help you. Regards
That is a strange way of showing a negative value. I will try to make that for this device only.
Can you checkout the develop version.
Done, I need to wait until the next day for sun, but I think it's inverted, as it shows me now, when I'm consuming power (0 at the end) : Tell me if I can do anything to help you, Regards
Oeps, You are correct i turn it around in the code. You can pull a new one.
Added to the Master!
Everything is fine, thanks for everything
Hello, I've read the dump, and I think it will be very difficult whith values it sends, but if it's possible, can you add the "PJ2101A 1P WiFi Smart Meter", an Amperometric bidirectionnal sensor. Here is the dump : dump.json.txt Thanks a lot for all your work and your support, Regards, Nonoose