But I’d really like that to be part of Home Assistant, to see if everything is still well linked together
and maybe, who knows, alert me when something is wrong.
The Devolo integration isn’t working for my material/usage.
Do you know if something is able to “map” the Broadband over Power Line network?
However a browse through its source code revealed that it is capable of sending the 0xa038Network Info Request packet and receiving and decoding the corresponding 0xa039Network Info Confirm reply. This was exactly what I was looking for.
I just played a bit with it but despite I’m being to install the package version (ubuntu) of faifa I’m struggelin getting @avian2’s faifa fork executing
autogen.sh and configure seems successfully doing something but It doesn’t build a binary afaik.
I would say more! Your up/down-link from your PLC devices are magnitudes better (~300mbits) then mine
Any idea how to feed the output from the command line into ha? I see you run plcstat directly on ha - so that could be even a command line sensor in your case I guess
Wouldn’t be the approach to get the TX/RX rates for each PLC device into HA and then use some (custom) card to do the drawing/plotting? That way it could be even interactive and HA can keep a proper history of the data.
I have also the hope to spot some device(s) which (when turned on) negatively influence the performance of my PLC network. Should be a treat ones I have the stats in HA to just plot them beside (HA attached) loads to see what impact they have
One is not blocking the other.
My plan is to do a drawing with nodes and speed (to see if this is something viable).
Then, whould be better to have something integrated.
The data can still be push into HA with some script + mqtt.
# Example configuration.yaml entry
sensor:
- platform: command_line
command: plcstat -t -i eth0
name: "Devolo TV Downstream"
unique_id: devolo_tv_downstream
unit_of_measurement: mbits
value_template: # the hard part goes here
as for a visual like the devolo cockpit you can just go with picture elements card use this as background image:
I know but I do not exclude more CPL, so I’d like to be as dynamic as possible starting with the easiest and moving forward, maybe included in the Devolo integration.
Edit: Little lower is because it is in MB/s while Devolo cockpit is MiB/s (I think, the infamous 1000 or 1024)
Edit2 : All my arrows are green. One of yours is yellow-ish orange-ish, do you know why?
Edit3: I’ll work on it in the week-end.
I’m not that much interrested in the value in my case but more about the link.
I used to lose the link with the PLC providing the internet connection and I’d like to detect it (and maybe do an operation)
Today, when I’m facing this issue, I’m starting the cockpit, and just disable/enable the LED and it is discovering all the plugs back. Maybe I could trigger that action from the tools installed 2 days ago…
I’m very much - but not with mqtt if possible. I don’t have a broker running anymore since couple years and to shut it down was one of the biggest efficiency boosts (not in terms of computing power but just getting things working much quicker without debugging, retained messages etc.) mostly by just using the esphome native api in my case.
But it should be more (or less) trivial to get the entities you are showing with solely relying on the command line sensor (in case no HaOS is involved - I guess)
Just the last line needs the proper value_template to extract the wanted measurement and that should be it.