Commit Graph
147 Commits
Author SHA1 Message Date
bohdan-s b3ae6969ed Merge pull request #58 from bjeanes/patch-1
Change battery_power to S16
2022-07-08 10:33:37 +10:00
Bo Jeanes ab981ad540 Change battery_power so S16
The docs seem to be incorrect here. When the battery is _charging_ the `battery_power` is negative.

See https://discord.com/channels/936031869001158666/936031869001158669/994762394511347802
2022-07-08 10:32:49 +10:00
bohdan-s a11509d08d Merge pull request #57 from michbeck100/bugfix/fix-run-state
fixes error when reading address of custom registers
2022-07-08 10:08:02 +10:00
Michael Kotten f0be34f244 fixes error when reading address of custom registers 2022-07-07 17:12:30 +02:00
bohdan-s 0d9b8a94f5 Merge pull request #39 from benni336/json_export
Adding JSON export feature
2022-07-07 14:15:28 +10:00
bohdan-s f2ef8111cd Update sungather.py
Fix merge conflicts
2022-07-07 14:14:29 +10:00
bohdan-s bc8493fee9 Update sungather.py
Revert unneeded changes in main file, keeping those separate to export files.
2022-07-07 14:12:24 +10:00
bohdan-s cd53342ca8 Revert "Delete sungather.py"
This reverts commit 32a2792371.
2022-07-07 14:09:02 +10:00
bohdan-s 32a2792371 Delete sungather.py
Keep 'exports' independent to main file.
2022-07-07 14:04:40 +10:00
bohdan-s d21b5f6507 Update config-example.yaml
Change default setting to off.
2022-07-07 14:02:04 +10:00
bohdan-s d4c36af520 Merge pull request #52 from Eigenbaukombinat/main
allow to set client id of mqtt connection in config, to support multi…
2022-07-07 14:01:04 +10:00
bohdan-s 355b1d38ff Merge pull request #54 from michbeck100/feature/running_state
#53 - adds support for bit masks
2022-07-07 13:58:56 +10:00
bohdan-s 8258ed5fdd Merge pull request #55 from michbeck100/feature/prometheus-export
adds /metrics endpoint with prometheus format
2022-07-07 13:57:26 +10:00
bohdan-s 97b11211b2 Merge pull request #56 from danielHin/fix/total_active_power-unit
Update Unit of register 13034
2022-07-07 13:56:01 +10:00
Daniel Hindenlang 06482468e9 change unit to Watts
* accordingly to docs 13034 unit is Watts
2022-07-01 12:35:16 +02:00
Michael Kotten bca665ade3 adds /metrics endpoint with prometheus format 2022-06-22 08:27:36 +02:00
Michael Kotten 7f02d2fbab #53 - adds support for bit masks 2022-06-08 08:05:04 +02:00
Daniel Havlik babfaca3cc change default client id to include the inverter model 2022-05-29 09:41:19 +02:00
Daniel Havlik f7fb734872 Merge branch 'bohdan-s:main' into main 2022-05-29 09:35:56 +02:00
bohdan-s ff234bc51b Merge pull request #48 from lucahammer/patch-2
Don't send units if they don't exist
2022-05-27 07:38:23 +10:00
Daniel Havlik 36454a082a allow to set client id of mqtt connection in config, to support multiple instances of sungather 2022-05-26 00:29:07 +02:00
bohdan-s 04b7a87d08 Merge pull request #50 from cottiAC/influx_1.8 2022-05-05 09:05:22 +10:00
Heim fe8c8c2728 feature: add influxdb 1.8 usage 2022-05-05 00:54:15 +02:00
Heim eb35734112 feature: add influxdb 1.8 usage 2022-05-05 00:53:19 +02:00
bohdan-s aa312a4fac Merge pull request #49 from cottiAC/fix_encoding 2022-05-05 08:43:51 +10:00
Heim 3d59713393 fix: add UTF-8 encoding for windows machines 2022-05-05 00:24:41 +02:00
Luca Hammer b232c436ac Don't send units if they don't exist
When a unit_of_measurement exists, Home Assistant assumes it's an integer and tries to graph it. Even if no unit_of_measurement are given. By not adding them, Home Assistant takes the value as discrete and visualizes it accordingly.

It's only relevant for few registers. I am using it for "work_state_1".  What the broken graph in Home Assistant looks like at the moment: https://imgur.com/JB67fax. After removing units_of_measurement: https://imgur.com/6rYNAAA and combined with other data: https://imgur.com/1TzAqFd. work_state_1 shows not only "Run" and "Standby", but "Starting" and "Degraded Run" as well which is important for monitoring.
2022-04-19 13:53:31 +02:00
bohdan-s 733f9626af Merge pull request #46 from bg6cq/main 2022-04-14 14:55:58 +10:00
Zhang Huanjie 4bf87835b7 S16/S32 fix 2022-04-14 11:03:26 +08:00
bohdan-s 1bb4f24808 Merge pull request #45 from danielHin/fix/export-power-accuracy
remove accuracy for 13008
2022-04-13 17:17:19 +10:00
Daniel Hindenlang 47233d4f16 remove accuracy for 13008 2022-04-13 08:41:20 +02:00
bohdan-s ed32a20b00 Merge pull request #44 from bg6cq/main
S16/U16/S32/U32 handle
2022-04-13 11:11:11 +10:00
Zhang Huanjie f0d28b293a S16/U16/S32/U32 handle 2022-04-13 09:00:41 +08:00
bohdan-s 38efc30370 Merge branch 'main' of https://github.com/bohdan-s/SunGather into main 2022-04-07 10:58:01 +10:00
bohdan-s 7536af8870 Starting support for SMA 2022-04-07 10:57:57 +10:00
bohdan-s 8819695c7c small fixes 2022-04-07 10:55:44 +10:00
bohdan-s c8f3ed9139 Merge pull request #42 from lucahammer/patch-1 2022-04-01 21:16:52 +11:00
Luca Hammer 0532fb38d9 fix typo
"sungow" -> "sungrow" as mentioned in #41
2022-04-01 12:14:56 +02:00
benni336 a1a6388564 First stable commit of JSON-Export-Feature 2022-03-24 10:48:30 +01:00
benni336 e6e032da8a Initial testing commit for JSON export 2022-03-23 23:18:50 +01:00
bohdan-s f8f27e9c48 Update FUNDING.yml 2022-03-23 09:13:36 +11:00
bohdan-s edfe0a422b Update FUNDING.yml 2022-03-23 09:12:52 +11:00
bohdan-s 2a7d941b83 Create FUNDING.yml 2022-03-23 09:09:19 +11:00
benni336 18cf401889 Merge branch 'bohdan-s:main' into bohdan-s-main 2022-03-22 14:32:14 +01:00
bohdan-s d1a5572237 Merge pull request #35 from bg6cq/main
fix typo
2022-03-20 13:13:35 +11:00
Zhang Huanjie dda4f70e13 fix typo 2022-03-20 08:29:40 +08:00
benni336 278410c19b Merge branch 'bohdan-s:main' into bohdan-s-main 2022-03-17 01:50:17 +01:00
bohdan-s 9aca239ea7 MQTT return false on no server configured 2022-03-10 14:10:01 +11:00
bohdan-s bbdea6f5a6 fix mqtt none type error 2022-03-10 13:33:54 +11:00
bohdan-s d4a2da5794 fix missing value 2022-03-10 11:35:01 +11:00