I have been slacking putting up better docs explaining the process of joining the Xcel program, adding LFDI, etc.
For anyone here, I’d love some feedback on the current docs. As you continue working on projects I find it harder and harder refining documentation as its no longer fresh when working through it. Either open a PR or add some feedback here on how to streamline the process of getting the meter on the network, then up and running through home assistant.
It took about 5 business days from when I requested access to when I was finally able to pull data into HA. I do still get an “unsafe legacy renegotiation disabled” error when I try the curl command to test the keys but the command line entities are working and pulling data into HA now.
Nice. Mine just changed to that error message today. I used the itron2mqtt script to create the cert. I have only been using the command line curl from ubuntu 22.04.
Did you use this to add it to HA, or the itron2mqtt script?
I’m not sure what the best way to add itron2mqtt to HA. The config is what I will try next.
Edit: The linked configs are not working. I get the same error. I get the same legacy renegotiation disabled message in the terminal in HA.
I have ran into this in different places with openssl 3.0. It doesn’t like some forms of encryption. IDK if this is that problem, but I had to update my ssh keys to ed25519 on my openssl-3.0 machine.
That config file is part of the iton2mqtt docker image. That must be why it exists:
So I guess I need to run this docker image somewhere. Anyone have a suggestion on the best way to add it to the home assistant os? I have done custom add-ons before and it wasn’t… super smooth. I could run it on another machine.
I’m using @SergeantScar’s method with just command line sensors set up in my config file. I did use the itron2mqtt script to generate the LFDI and cert/key pem files though.
It works for now and was easy enough to get working. It would be nice as an integration but that it beyond my skills.
The important part (for this error) is OPENSSL_CONF=/root/config/xcelcerts/openssl.conf .
I still have some tuning on the sensor configuration. But this is at least returning a value. I will probably poke more at the itron2mqtt code to see what else I should be scraping. I prefer the command_line integration to a docker image running on another machine. An add-on that just did this would be perfect.
I got my official enrollment email as well, and the Edit button still does nothing as far as actually allowing me to add the meter to my network. @rucknapucknavitz were you able to get your meter on your network?
I’m trying various browsers and even turning off my pihole trying to make this work and just nothing.
Poking at it again today. I followed the steps to get logged into the main homeassistant container. The config folder is just at /config. .
So, if you are running the HassOS, and you want to use the command line sensors, make sure you are using /config, not /root/config. The /root/config works in the ssh terminal, but that runs in another container.
For what it’s worth, I got my Launchpad enrollment email on 2/21 and I have never had the edit button work on any browser I’ve tried. I’m out of ideas at this point.
Since I moved to my current place last November, I’ve never been able to see my usage on xcel’s website, but on demand reads do work. Unsure if that’s related or not. I’ve tried calling xcel and their responses range from confusion to accusing me of doing something dangerous/illegal/not allowed by trying to connect my meter to wifi.
Even if I’m able to add a device, it wouldn’t be useful because I still can’t get my meter connected to my wifi. No matter what I try, I can’t click this edit button to add my network information.
That is a bummer. This has to be the weirdest way to setup wifi I have ever done. I am lucky I just went on a big journey with my router to make a new setup, or I would have lost my mind.
It’s weird that it says “ready to go” too. I remember mine having an error there, until it said it was connected.
I don’t want to mess around with my setup. It just started working for me. Otherwise, I would take more screenshots of what I did.
Have you tried in a different browser? I think I used firefox. But Chrome or edge might work better.
I’ve learned a few things. I might have cracked this, but I have to wait 2 hours.
You can choose what sensors end up in your energy panel by going to settings->dashboards->energy and clicking on Add Consumption in the Grid Consumption area on the left.
When I did that with my command line sensor, it doesn’t show up. There is a not-very-helpful help message that says this:
Interestingly, the command line sensor also doesn’t show up in developer tools->statistics.
I have device_class: energy, state_class: total (I tried total_increasing too), and unit_of_measurement: "kWh". These don’t show up in the developer tools->states:
Alright. Now I just need to sit back and watch my data. I am already enjoying seeing things like my oven’s energy use, and the furnace’s and the “background” levels. They are all higher than I expected.
Thanks for everyone who poked and prodded at this to get a solution. Let’s see how long it lasts before the API breaks
Did anyone else lose their command line sensor in the latest HA update (2023.5.0)? It no longer writes data, but I still get a positive connection in the terminal using the curl command.
Edit: FIXED. See post 188. Had a bad path for the openssl.config that didn’t catch up with me until the latest upgrade.