Intro to farmOS v2 sensor integration

It is actually Node-Red that does the authenticating for me although I did add it to my Home Assistant Setup.

You Can use this Flow: https://github.com/Farmer-Eds-Shed/FarmOS-Node-Red-Flows/blob/main/farmos-auth-flow.json
It creates a HTML dashboard using Node-Red UI, you may need to download some extra nodes to your pallet which is straight forward enough, Node-Red should let you know what dependencies are missing.

Or if you don’t want to have a GUI Login you can hardcode the credentials, I use a credentials node for this so as to not share my logins when I share the flows.

2 Likes

Oh. thanks. I’ll try that

2 Likes

I installed the missing nodes. Don’t quite get it tho…
Updated farmos url. Anything else that need configuration?
If I put an inject node first, shold that bring up the login form? Or am I missing something?

Yes, Sorry you need to launch the dashboard :smiley:
image

Go to dashboard layout and then click this
image

Once you have the dash board, you can bookmark the page

Ah… speechless…
This was cool. So then, you actually don’t need HomeAssistant to do some graphs of the sensors.

2 Likes

No need for Home Assistant for sensors at all…but…

I prefer the Home Assistant Dashboards and I can integrate a lot of other stuff such as camera feeds from calving pens. It will all come down to what you want/need from it. You can often use just Home Assistant or just Node-Red for a lot of the same tasks but they also compliment each other very well.

3 Likes