-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All outputs are missing in 0.1.1 #29
Comments
Is your Input and Output named the same in the IoTaWatt web interface? The Input and Output should be created in HA just that the Output will have appended _2 to the name so it does not conflict with the Input. If there is still an issue can you look in the logs, are there any errors from IoTaWatt? |
Also how are you looking for the sensors? Through the Entities page? Developer Tools? Or from the drop down selection list in the Energy Dashboard configuration? |
The output sensors are not showing in the iotawatt integration; instead they are showing up as a plain sensor. It's how the HA iotawatt integration, and it's plain silly. |
Logger: homeassistant.helpers.event
I'm not seeing the input data in energy-devices-graph either. It was there yesterday after the update. |
@bmorgan99 What version of HA are you running? |
2021.9.0 |
@bmorgan99 The custom_component of the IoTaWatt only supports up to HA 2021.8.x For 2021.9.0 you would have to use the official integration bundled with HA 2021.9.0. After uninstalling the custom component, restarting HA, and adding the official integration you will need to create a sensor for each input and output that is from the IoTaWatt that has a unit type of Watts. The template format is documented here IoTaWatt |
Yes, I uninstalled the HACS version, created the 2 integration sensors per the doc, upgraded to 9.0 and installed the core integration. I didn't see anything about creating each input, but they now look like this: sensor.iotawatt_input_oven_wh
sensor.iotawatt_input_oven
so create this in sensor.yaml?
|
this is due to an unfortunate last minute change in the HA integration. Note that if you use the version propose here #30 not only the sensor will work with the energy graph, but you’ll get much better accuracy than the integration in HA offers platform: integration your source is incorrect, the sensors have been renamed. The prefix iotawatt_input is gone |
Initially I installed your integration early 2021.8. I ran REST too as there was an issue with non-volt/watt values. |
I've noticed the same ; the sensor are there ; but they are disabled by default ; another last minute change that broke a lot of things :( |
@darek-margas Where are you looking for the test output sensor that was created? Entities page? Developer Tools? Or another area? |
I looked in entities filtered by integration. I see from the above they might appear as unrelated thus out of filter scope. |
@darek-margas If you clear the filter you should see your Output sensors on the Entities page. The Outputs will have an Integration of |
As I mentioned earlier I reverted this change to continue with my monitoring and automation. Now it is as if I never updated it. I'll wait for a few tags on 2021.9 (already has 1) and re-attempt one day. Knowing sensors will appear as unrelated I may have better chance (and still lots of work to rename my 37 sensors back as they are referred in so many places... |
Can I close this issue then? |
I think it would be better to actually change it and make all sensor related to integration. |
Please comment in home-assistant/core#55489 and open a new bug referring to that issue. |
Alright, I attempted to do it again. it turned badly anyway. |
Unfortunately, this was forced by the HA author who believe they should be modified from the iota watt directly. He's the one who made that change despite Greg's opposition This HACS version adds new feature such as high resolution energy reads (so you can use them with the energy screen). But is otherwise identical to the one found now in HA. That way you can switch between the HA one and the HACS one without having to rename anything. What I will try to do is see if I can simulate a unique_id for output (which is what is needed to allow to rename them) but done in such a way that it will be compatible with the internal HA naming, so that it won't require to rename everything everywhere which takes forever. |
Sensors from 0.8.0 had it as I was able to edit. |
Being able to make it editable is trivial. Make it in such a way that you don’t have to edit your entire setup because the internal name changed is another. For now the HA people have decided that it shouldn’t be editable and instead you should rename it on the iotawatt itself. It was a very shortsighted approach particularly because doing it that way will cause to lose all your history |
Definitely works now. Any hope for that version to be in core? |
The latest changed for merged in HA earlier today. But still no editable output. |
Can you elaborate how? I somehow am missing all mine after a recent update and I don't know why or how to fix it. |
After upgrading to 0.1.1 new sensors were created. As per warning notice iotawatt_something prefix was removed. However, only input sensors are present. I wonder how it is expected to work if I name output sensor the same as input?
Regardless, it is simply broken.
I tried this 2021.9 embedded one with exactly the same result.
The text was updated successfully, but these errors were encountered: