Hi @MuzzaM Thank you for coming back to my question.
I was not aware that i had to specify Feeds in in the HA-config. Also sensor names?
I wwould like to add these, but where do I get the ID-numbers from?
In …[config]/includes/sensors.yaml:
#######################################
# emonCMS
#-|---|---|---|---|---|---|---|---|---|
- platform: emoncms
api_key: !secret emonCMS_API_KEY
url: http://192.168.178.235/emoncms
id: 1
I tried to follow this thread: Energy Management in Home Assistant
but could not find this answer…
BTW, i upgraded emonCMS today to the last version 10.8.5.
But i do not find any feed-id’s in emonCMS. Perhaps you can tell me where to look for them?
BTW2, My config is an emonTX with the emonESP to use WiFi to connect to the RPi3 with emoncms.
Edit.
Found an iten at the emoncms about feed-id’s. So i tried this to get extra info:
http://192.168.178.235/feed/list.json?apikey=(my-read-only api-key)
And got this return:
[{"id":"1","userid":"1","name":"Power","datatype":"1","tag":"Node emonTX-1","public":"0","size":"32771796","engine":"5","processList":"","unit":"W","value":528,"time":1633874651,"start_time":1551875850,"interval":10},{"id":"2","userid":"1","name":"Solar","datatype":"1","tag":"Node emonTX-1","public":"0","size":"32771776","engine":"5","processList":"","unit":"W","value":831,"time":1633874651,"start_time":1551875900,"interval":10},{"id":"3","userid":"1","name":"EV","datatype":"1","tag":"Node emonTX-1","public":"0","size":"32771752","engine":"5","processList":"","unit":"W","value":0,"time":1633874651,"start_time":1551875960,"interval":10},{"id":"4","userid":"1","name":"Netspanning","datatype":"1","tag":"Node emonTX-1","public":"0","size":"32770468","engine":"5","processList":"","unit":"V","value":237.427611,"time":1633874651,"start_time":1551879170,"interval":10},{"id":"5","userid":"1","name":"Temp-meterkast","datatype":"1","tag":"Node emonTX-1","public":"0","size":"5461760","engine":"5","processList":"","unit":"\u00b0C","value":20.2,"time":1633874651,"start_time":1551879180,"interval":60}]
So it looks like the id’s are “1, 2, 3, 4 and 5”, but i doubt that this is correct, seeing your feed-id’s…
EDIT 2;
If i send this to emoncms http://192.168.178.235//feed/ i’l get this outpot, with Feed ID’s.
So “1, 2, 3, 4, 5” must be the right Feed-ID’s…