I want Help Understanding Emoncms Integration with Go-based Services

Hey everyone,

I have started exploring Emoncms for energy monitoring at home & I am super impressed with the flexibility and the community around it! I have got it running on a Raspberry Pi, collecting data from a few CT sensors via an ESP32 setup.

I am learning Go Golang & would love to build a small service that interacts with the Emoncms API for some custom automation. Has anyone here done something similar or has experience calling Emoncms endpoints using Go? Any best practices I should keep in mind?

Also, if you have taken any good Golang Course that helped with understanding HTTP requests or API integration, feel free to suggest it (not looking for anything too advanced though).

Thank you.:slight_smile:

Hello @Sofiaya thank you and welcome!

I’ve heard a lot of good things about go and dabbled with a few basic examples. For automation I assume you will be requesting the most recent feed values from emoncms? perhaps using the feed/list.json API end point?

Feel free to share what you create here and I can try and give any pointers.

I am not aware of any go written library interfacing with the emoncms API. In python, there is pyemoncms, which is an async library. and also PyFina which permits to manage emoncms timeseries as numpy objects

1 Like