Conversation
* Removed timestamp from output * Changed output to JSON format
Added information for installation of Raspberry pi and other preparations. Example configuration for Home Assistant
Thanks all for the contrib!
Just to clarify
To make sure that the mqtt broker is started added a sleep command before starting publishing to mqtt.
Added sleep command
The output JSON values was not quoted.
Added automation for showing todays kWh and the template sensors used to show the data from the automations.
Removed data_[4] in if statement for BAD: This was causing alot of errors for my sparsnas.
temporary fix for higher effect numbers. noticed when i was drawing more power that the calculation for watt was incorrect. So added a if statement to only atleast make it work in my case. more research in when the different calculations are needed is needed
Change break value
Fixed template code.
Update README and small fix for reporting higher wattage.
To avoid Home Assistant from generating parsing errors.
Example:
2018-01-10 12:54:14 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: Bad: 11 5E 2E 07 0F A2 98 19 19 49 0C F7 4A 47 D2 03 81 78 , template: {{ value_json.Watt | round(1) }})
Add template sensor for kwh
Added variable for different PULSES_PER_KWH in the sprint
Fixed json formatting for bad:
The code has been tried, "copy pasted" into configuration.yaml and confirmed working. Thanks to @bhaap again for the great automations! <3
Update again to fix the power calculation.
Fixed formatting
Update sparsnas_decode.cpp
minor fixes in docker version
(when using `mosquitto_loop_start`)
Mosquitto handles reconnect automatically
divide as float instead
Update Dockerfile with cdn-url
Co-Authored-By: Fredrik Erlandsson <fredrik.e@gmail.com>
This reverts commit a3d4023.
Fix timeout issues with latest Alpine Edge
TTB .. Time To Bed! ;)
Sensor mqtt does not seem to have an "hidden" attribute. Also group does not have view? At least it is throwing errors in config validation. Source: https://www.home-assistant.io/integrations/sensor.mqtt/ https://www.home-assistant.io/integrations/group/
Update to be able to use the entitys in Energy Dashboard
Some config generates errors
Enable energy dashboard
JohanLeirnes
approved these changes
Dec 27, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.