Commit Graph
174 Commits
Author SHA1 Message Date
bohdan-s b879531c56 Fix VOutput Voltage (v6) 2022-12-08 10:20:47 +11:00
bohdan-s 665c127096 Merge branch 'main' of https://github.com/bohdan-s/SunGather into main 2022-10-23 10:07:26 +11:00
bohdan-s 3de2d7b229 Fix pymodbus requirements 2022-10-23 10:07:20 +11:00
bohdan-s 27bf7dcb90 Merge pull request #70 from bohdan-s/feature/push-on-tags
only push docker image on new tags
2022-07-29 12:46:01 +10:00
bohdan-s d7afefcaa0 Update docker-image.yml 2022-07-29 12:45:52 +10:00
Michael Kotten d021daf736 Adds automatic releases on tag 2022-07-28 14:43:25 +02:00
Michael Kotten 5eec5913b1 only push docker image on new tags 2022-07-28 12:59:40 +02:00
Michael Kotten 222b1a710f Merge pull request #69 from danielHin/update-doc-smart-meter-and-hybrid
add notes to doc where smart_meter is mentioned
2022-07-28 10:39:47 +02:00
danielHin 718ad54d6c add notes where smar_meter is mentioned
* smart_meter = true is not needed for hybrid models even a smart_meter is installed (smartmeter is always installed with hybrid ones)
*  add some notes to usefull registers for hybrid models
2022-07-28 10:35:04 +02:00
Michael Kotten aeffcbaa85 fixes GitHub action 2022-07-27 19:06:36 +02:00
Michael Kotten 6d0f723b63 Merge pull request #67 from danielHin/feature/support_import_power_for_hybrid
simplify import_from_grid for hybrid
2022-07-27 18:54:47 +02:00
Michael Kotten 2820d13c70 Merge pull request #66 from bohdan-s/feature/docker_build_action
adds github action to build and push docker image
2022-07-27 18:47:30 +02:00
danielHin ade1e592b7 simplify impoft_from_grid for hybrid
* export_power_hybrid gets negative once power is imported from the grid. So no calculation is needed. 
Basically simplifies the code a bit.
2022-07-27 17:24:56 +02:00
Michael Kotten 35c65cb86d adds current version as tag for docker push 2022-07-27 16:25:45 +02:00
Michael Kotten a55bdb3bcb adds github action to build and push docker image 2022-07-27 16:25:43 +02:00
Michael Kotten 25a5fbfa9b installs build tools for arm support 2022-07-27 16:25:16 +02:00
bohdan-s 0dd000bc63 Version bump to 0.3.8 for docker 2022-07-27 15:59:39 +10:00
bohdan-s 1af5165aec Create docker-image.yml 2022-07-27 15:44:34 +10:00
bohdan-s 6c501a6b70 Merge pull request #65 from michbeck100/bugfix/fix_register_name
renames state_daily_pv_generation back to daily_pv_generation
2022-07-26 16:08:11 +10:00
bohdan-s 9f56505069 Merge pull request #60 from danielHin/feature/export-import-for-hybrid-inverters
write import_from_grid and export_to_grid for hybrid inverters
2022-07-26 16:07:07 +10:00
bohdan-s 9483ee0f1c Merge pull request #63 from michbeck100/feature/additional-registers
additional registers
2022-07-26 16:06:50 +10:00
Michael Kotten a16c936239 renames state_daily_pv_generation back to daily_pv_generation (was changed by mistake in #59) 2022-07-26 07:06:12 +02:00
bohdan-s 5617c12d67 Merge pull request #59 from danielHin/fix/register_name_clash
renamed the running_state mapping register names to fix name clash
2022-07-26 11:44:11 +10:00
Michael Kotten cbcde8ac70 changes datatype of total_pv_export to U32 2022-07-19 07:13:24 +02:00
Michael Kotten 0ea499bf03 adds additional registers, taken from https://forum.iobroker.net/topic/38441/sungrow-wr-sgh10rt-erfolgreich-mit-modbus-eingebunden 2022-07-14 14:41:24 +02:00
Daniel Hindenlang 39f7a59ac3 renamed the running_state mapping register names to fix name clash
* import_from_grid has a name clash with the custom one calculated by SunGather
2022-07-08 17:04:40 +02:00
Daniel Hindenlang 9794476b86 write import_from_grid and export_to_grid for hybrid inverters
* calculate import from grid 
* copy value of export_power_hybrid to export_to_grid
2022-07-08 17:03:25 +02:00
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