{"id":35077257,"url":"https://github.com/brianfoshee/modbus-redis","last_synced_at":"2026-04-04T06:07:35.523Z","repository":{"id":10892723,"uuid":"13184877","full_name":"brianfoshee/modbus-redis","owner":"brianfoshee","description":"Reads data from a Morningstar Sunsaver MPPT solar charge controller and saves it to a Redis database","archived":false,"fork":false,"pushed_at":"2021-12-13T02:39:17.000Z","size":57,"stargazers_count":9,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-03-22T15:33:40.535Z","etag":null,"topics":["modbus","mppt","raspberry-pi","redis"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brianfoshee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-29T02:39:16.000Z","updated_at":"2022-08-16T03:16:25.000Z","dependencies_parsed_at":"2022-07-09T23:16:17.705Z","dependency_job_id":null,"html_url":"https://github.com/brianfoshee/modbus-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/brianfoshee/modbus-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fmodbus-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fmodbus-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fmodbus-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fmodbus-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianfoshee","download_url":"https://codeload.github.com/brianfoshee/modbus-redis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fmodbus-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31389408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["modbus","mppt","raspberry-pi","redis"],"created_at":"2025-12-27T12:18:51.197Z","updated_at":"2026-04-04T06:07:35.518Z","avatar_url":"https://github.com/brianfoshee.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Reading data from a [Morningstar Sunsaver MPPT] [ssmppt] and storing it in Redis.\n\nSince inception, many improvements have been made to this project. It pulls data every 5 seconds, stores it to Redis, then can send it to a remote server as JSON to be stored and analyzed.\n\nThis runs on a Raspberry Pi. Requires [hiredis] [hired] and [libmodbus] [libmod]. Required is a USB to RS232 converter which connects to the [Morningstar PC Meterbus adapter] [meterbus].\n\nBasis of the modbus from [this blog post] [tom-blog].\n\nTo setup a Raspberry Pi with Arch Linux see [rpi-arch-setup] [arch-setup]\n\nWork to improve this:\n\n- ~~send to statsd/graphite~~\n- Visualize with d3 (realtime and archived)\n- Clean up collect.c\n  - DRY up data accessing and number conversions\n\n[A few (older) images of the setup] [flikr-set]\n\n[tom-blog]: http://westyd1982.wordpress.com/2010/03/26/linux-and-mac-os-x-software-to-read-data-from-the-sunsaver-mppt-using-modbus/\n\n[hired]: https://github.com/redis/hiredis\n\n[libmod]: https://github.com/stephane/libmodbus\n\n[flikr-set]: http://www.flickr.com/photos/bfosh/sets/72157637640405973/\n\n[my-blog]: http://www.gingilipino.com/brian/solar-data-collection.html\n\n[solar-collector]: https://github.com/crakalakin/solar-collector\n\n[arch-setup]: https://github.com/crakalakin/modbus-redis/blob/master/rpi-arch-setup.md\n\n[ssmppt]: http://www.morningstarcorp.com/products/sunsaver-mppt/\n\n[meterbus]: http://www.morningstarcorp.com/products/pc-meterbus-adapter/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianfoshee%2Fmodbus-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianfoshee%2Fmodbus-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianfoshee%2Fmodbus-redis/lists"}