Problem to read Iammeter with Node-Red
Hello, my name is Alberto and I have problem to read my IAMMETER single fase with Node-Red.
I read these links but I am not able to do it.
https://www.iammeter.com/docs/nodered
https://www.youtube.com/watch?v=llfQN9TfiOM
In node-red there are 2 boxes.
Local-realtime and Cloud-realtime
When I use Local-realtime I enter the IP and it connects but the payload is undefined.
Why can't I read from my device locally?
When I use Cloud-Realtime, in addition to the SN, I need a token. How could I get the token?
Thanks
Hello, I have already found the TOKEN for the COUD_REALTIME node and it is already working.
But I still can't do a read with the LOCAL_REALTIME node
https://www.iammeter.com/docs/noderedhttps://imeter.club/topic/129https://www.youtube.com/watch?v=llfQN9TfiOMIn node-red there are 2 boxes.Local-realtime and Cloud-realtimeWhen I use Local-realtime I enter the IP and it connects but the payload is undefined.Why can't I read from my device locally?When I use Cloud-Realtime, in addition to the SN, I need a to
I have tested that the data can be obtained, you can test whether the ip of the meter can be opened in the browser
WEM3080-function:
//voltage,current,power,importenergy,exportgrid
let dataArr = msg.payload;
let result = [];
for(var item in dataArr) {
result.push({
payload: dataArr[item]
});
}
return result;
I have tested your function node and it only works correctly with the cloud-relatime node but not with local-realtime.
Are you using the local-realtime node?
The IP is correct, but it is possible that I need to update the device?
I requested a new firmware yesterday but have not received a response yet.
I have tested your function node and it only works correctly with the cloud-relatime node but not with local-realtime.
Are you using the local-realtime node?
The IP is correct, but it is possible that I need to update the device?
I requested a new firmware yesterday but have not received a response yet.
You can try to get data through httpget mode, use this demo flow:
https://github.com/lewei50/Solar-PV-Monitoring/blob/master/NodeRed/WEM3080_httpget_flows.json
Change this ip address to your meter's ip
basic authentication admin/admin
Test to see if you can get the data: