[{"data":1,"prerenderedAt":228},["ShallowReactive",2],{"guide-open-solar-monitoring-rs485-modbus-en-US":3},{"guide":4,"related":210},{"title":5,"seoTitle":6,"description":7,"summary":8,"sections":9,"faq":124,"cta":140,"date":142,"updated":142,"service":143,"order":144,"sources":145,"slug":208,"locale":209},"Open Solar and Battery Monitoring with RS485, Modbus and SunSpec","Local Solar Monitoring over RS485 and Modbus","How to read inverter and battery data locally over RS485, Modbus RTU, Modbus TCP and SunSpec, and which brands restrict local access as of October 2026.","Most hybrid inverters and many batteries expose their data on an RS485 port or a network interface using Modbus, and SunSpec defines a free, open register layout for solar and storage equipment. With a data logger, an RS485 adapter or tools such as pysolarmanv5 and Home Assistant, an owner can read production, battery and grid data locally, without a vendor cloud. Some ecosystems restrict this: as of October 2026, Enphase gateways require a cloud-issued token for local access, and the Powerwall 3 offers less local data than the Powerwall 2. Start read-only, and leave protection, grid-profile and export settings as the utility approved them.",[10,15,56,61,67,77,103,108,113],{"heading":11,"paragraphs":12},"Why local data matters",[13,14],"Monitoring through a manufacturer's cloud is convenient, but the data then depends on the internet connection, the vendor's servers and the vendor's account terms. Local access means reading the inverter or battery directly over the home network or a serial cable. It keeps working during an internet outage, which is often when an owner most wants to see the battery's state of charge; it allows automations that react in seconds, such as shedding a load when the battery falls below a threshold; and it gives the owner a permanent record that does not disappear if a service is discontinued.","Our guide to [smart-home devices that work without the cloud](\u002Fguides\u002Flocal-control-smart-devices) lists which consumer products run locally in Home Assistant. This guide goes one layer down, to the protocols that inverters and batteries actually speak, and is written for owners, installers and engineers who are comfortable with them. The rule throughout is to read first, and to treat writing settings as a separate decision that belongs with the installer and the manufacturer.",{"heading":16,"paragraphs":17,"table":19,"after":54},"RS485 and Modbus RTU basics",[18],"[RS-485](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FRS-485) is an electrical standard for a twisted-pair bus that carries a differential signal, which tolerates the electrical noise around inverters and long cable runs. [Modbus](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FModbus) is the request-and-response protocol most often carried on it: one master, such as a data logger or a computer, polls each slave device by address and reads numbered registers. Modbus RTU is the compact binary form used on serial lines. The figures below come from the [Modbus over Serial Line specification](https:\u002F\u002Fcars.uchicago.edu\u002Fsoftware\u002Fepics\u002FModbus_over_serial_line_V1_02.pdf), V1.02; the [Modbus Organization](https:\u002F\u002Fwww.modbus.org\u002Fmodbus-specifications) publishes the protocol specifications.",{"caption":20,"head":21,"rows":25},"Modbus over RS485: requirements from the serial line specification V1.02",[22,23,24],"Item","Specification","What it means in practice",[26,30,34,38,42,46,50],[27,28,29],"Addresses","One master; slaves numbered 1 to 247","Each inverter, battery or meter on the bus needs a unique address",[31,32,33],"Devices per segment","32 always allowed without a repeater","Larger installations need repeaters or devices documented for more",[35,36,37],"Signal names","D0 and D1 (D1 maps to B\u002FB', D0 to A\u002FA')","Product labels vary, so follow each device's manual rather than the letter on the terminal",[39,40,41],"Line termination","At both ends of the trunk only, never on a drop cable, no more than two: 150 Ω (0.5 W), or 120 Ω in series with 1 nF where the line is polarized","Missing or extra terminators cause reflections and intermittent errors",[43,44,45],"Line polarization (bias)","Where needed, a pull-up to 5 V on D1 and a pull-down on D0, 450 to 650 Ω, at one point only, generally the master","Keeps the idle bus in a defined state; several devices biasing the same bus can upset it",[47,48,49],"Speed and format","9600 and 19200 bps required; 19200 bps and even parity are the required defaults","Every device on the bus must use the same speed and parity",[51,52,53],"Cable length","About 1,000 m at 9600 bps with AWG26 or heavier","Distance is rarely the limit in a house; grounding and routing are",[55],"The protocol defines how to ask for a register, not what the register means. Register maps, the documents that say which address holds battery voltage or grid power and with what scaling, are specific to each manufacturer unless the device implements SunSpec models. A capable owner with the map can read a device with any Modbus client; without it, the data is just numbers. Battery systems often use a second bus, [CAN](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FCAN_bus), between the battery management system and the inverter. That link carries charge and discharge limits and is not a monitoring port to tap into.",{"heading":57,"paragraphs":58},"Modbus TCP and SunSpec models",[59,60],"Modbus TCP carries the same requests over Ethernet or Wi-Fi, normally on TCP port 502, so a networked inverter or an RS485-to-Ethernet gateway can be read from any computer on the network. Modbus itself provides no protection against unauthorized commands or interception, so a Modbus TCP device belongs on a separate network segment and must never be exposed to the internet.","SunSpec Modbus is the open answer to vendor-specific maps. The [SunSpec Alliance](https:\u002F\u002Fsunspec.org\u002Fspecifications\u002F) publishes standard information models, blocks of registers with defined meanings for inverters, meters and storage, so a client that understands SunSpec can read compliant equipment from different makers. SunSpec states that all of its specifications are free to download and use, that SunSpec Modbus is referenced in IEEE 1547-2018, and that it interoperates with IEEE 2030.5 and IEEE 1815 (DNP3), the other communication interfaces that standard identifies. A Secure SunSpec Modbus specification is at test status. Where a device supports SunSpec, ask for its implementation note, which states the models and any vendor-specific additions.",{"heading":62,"paragraphs":63},"Data loggers, pysolarmanv5 and Home Assistant",[64,65,66],"Many hybrid inverters ship with a Wi-Fi data logger stick that reads the inverter over RS485 and uploads to a cloud service. Loggers made by Solarman (IGEN-Tech) use a proprietary V5 protocol that wraps Modbus RTU frames. The open-source [pysolarmanv5](https:\u002F\u002Fgithub.com\u002Fjmccrohan\u002Fpysolarmanv5) library, released under the MIT license, talks to these loggers directly on TCP port 8899 and offers synchronous and asynchronous interfaces. Its documentation notes that the Solis S3-WIFI-ST stick is not supported and that some Ethernet loggers speak Modbus TCP natively, without the library.","[Home Assistant](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHome_Assistant), the open-source home automation platform, is where most owners bring this data together. The [ha-solarman](https:\u002F\u002Fgithub.com\u002Fdavidrapan\u002Fha-solarman) custom integration, also MIT licensed, is built on the asynchronous pysolarmanv5 and also supports Modbus TCP through ESP-based or Waveshare RS485 bridges. SolarAssistant is a commercial alternative: [its software](https:\u002F\u002Fsolar-assistant.io\u002F) runs on a Raspberry Pi, works without an internet connection, supports brands including EG4, Sol-Ark, Growatt, Deye and Victron, and publishes data to Home Assistant by automatic discovery and over [MQTT](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMQTT), WebSocket or REST.","Whether local polling works alongside a logger's cloud upload depends on the logger and its firmware, so we confirm it on the specific unit. The same RS485 or CAN link to the inverter is also what a battery or vehicle bridge controller uses, a topic covered in our guide on [EV batteries and hybrid inverters](\u002Fguides\u002Fev-battery-home-solar-storage-hybrid-inverter).",{"heading":68,"paragraphs":69,"list":72},"Read-only first, and what not to change",[70,71],"Reading registers changes nothing in the inverter. Writing them can. Many inverters expose writable registers for operating mode, charge limits, export limits, grid profile and protection settings, and a write to the wrong address or with the wrong scaling takes effect immediately. We do not publish register writes, and this guide does not describe them.","Protection settings, the grid profile and export limits are part of what the utility approved. In New York, interconnection under the [Standardized Interconnection Requirements](https:\u002F\u002Fdps.ny.gov\u002Fnys-standardized-interconnection-requirements-effective-october-1-2026) is based on certified equipment with the utility's settings, and a change to the operating mode requires a new application. Changing these settings yourself can breach the interconnection agreement, can affect anti-islanding and the safety functions described in our guide on [inverter rapid shutdown, arc-fault and isolation detection](\u002Fguides\u002Finverter-rapid-shutdown-arc-fault-isolation-detection), and can void the warranty.",[73,74,75,76],"Use a Modbus client in read-only mode, or an integration that only reads, until the register map is confirmed against the inverter's own display.","Keep inverters, loggers and gateways on their own VLAN, with no port forwarding from the internet.","Make operational changes, such as charge schedules, through the manufacturer's documented interface or with the installer.","Leave grid profile, protection and export settings as commissioned. Changes go through the installer and, where required, the utility.",{"heading":78,"paragraphs":79,"table":81,"after":99},"Restricted ecosystems, as of October 2026",[80],"Some major brands have narrowed local access in recent firmware. The facts below are stated as each source gives them, with the manufacturer's stated reason where one exists.",{"caption":82,"head":83,"rows":88},"Local access on two widely installed systems, October 2026",[84,85,86,87],"System","What changed","Stated reason","Source",[89,94],[90,91,92,93],"Enphase IQ Gateway","Since gateway software 7.0.x, the local UI and APIs require a token issued by the Enphase cloud with an Enphase account; valid one year for a system owner and 12 hours for an installer. Since firmware 8.2.4225, battery mode, charging from the grid and the reserve level can no longer be set through the local API.","Enphase: token-based authentication to improve security; the one-year limit is to ensure safety","Enphase TEB-00060-2.0-EN, June 2025; Home Assistant documentation",[95,96,97,98],"Tesla Powerwall 3","Exposes a more restricted local HTTP API than Powerwall 2, without off-grid control, backup reserve or per-battery data. From firmware 25.10.0, routed access to the gateway's 192.168.91.1 interface ended; a direct connection to the Powerwall's own Wi-Fi is required.","We found no published statement from Tesla","Home Assistant documentation; pypowerwall project",[100,101,102],"Enphase's [technical brief on token access](https:\u002F\u002Fenphase.com\u002Fdownload\u002Fiq-gateway-local-apis-or-ui-access-using-token) adds that a self-installer using installer credentials receives 12-hour tokens unless Enphase Support converts the account to owner credentials. Once issued, the token allows data to be read locally; issuing and renewing it requires the Enphase cloud. Home Assistant's [Enphase integration](https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Fenphase_envoy\u002F) renews the token automatically unless multi-factor authentication is enabled.","For the Powerwall 3, Home Assistant documents the [reduced local entities](https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Fpowerwall\u002F). The open-source [pypowerwall](https:\u002F\u002Fgithub.com\u002Fjasonacox\u002Fpypowerwall) project, under the MIT license, reads more data through Tesla's TEDAPI interface over the gateway's Wi-Fi and describes a wired-LAN mode that uses a registered RSA key. These are community-developed interfaces, not a Tesla-documented local API, and they can change with any firmware update. Tesla's official route is its cloud Fleet API, which, according to pypowerwall, caps the backup reserve at 80 percent.","Authentication on a controllable grid asset is reasonable, and both companies support their customers through their own apps. The open question is narrower: whether authentication has to depend on a vendor cloud account, or could be issued and held locally by the owner.",{"heading":104,"paragraphs":105},"What open standards require, and what they do not",[106,107],"Public rules already require inverters to communicate, but with the utility. IEEE 1547-2018 identifies three local communication interfaces for distributed energy resources: SunSpec Modbus, IEEE 2030.5 and IEEE 1815. In California, Rule 21 Phase 2 communication requirements took effect on June 22, 2020; as [SunSpec summarized them](https:\u002F\u002Fsunspec.org\u002Fcalifornia-rule-21-phase-2-goes-into-effect-this-month), any solar inverter or energy storage system installed in California must have demonstrated the capability to communicate using IEEE 2030.5 under the Common Smart Inverter Profile.","These are utility-facing requirements. They require communication capability so that utilities and aggregators can monitor and manage equipment; they do not require that the owner be given local access, credentials or a register map. A product can meet them while offering the owner no documented local interface at all.",{"heading":109,"paragraphs":110},"The case for documented local interfaces",[111,112],"We believe documented local interfaces serve owners and the industry, and we say so on the record. Owners keep their data and automations if a cloud service changes or ends. Installers can integrate inverters, batteries, meters and chargers from different makers, diagnose faults on site without waiting for a support queue, and service systems after a manufacturer exits a market. Utility programs benefit as well: PSEG Long Island's [Battery Storage Rewards program](https:\u002F\u002Fwww.psegliny.com\u002Fen\u002Fsaveenergyandmoney\u002FGreenEnergy\u002FSolarEnergy\u002FEnergyStorageRewards) runs enrolled home batteries as a network that relieves strain on the grid on hot summer days, through third-party aggregators that depend on reliable communication with each system. Wider use of home and vehicle batteries as flexible storage, argued in full in our [EV battery and hybrid inverter guide](\u002Fguides\u002Fev-battery-home-solar-storage-hybrid-inverter), depends on the same open, standard interfaces.","The counterweights are real: an open interface must be secured, manufacturers bear support costs when third-party tools misbehave, and settings that affect the grid must stay under control. A published read-only map with locally issued credentials, plus a documented and authenticated path for the settings an owner may legitimately change, would address both sides. The same argument applies to EV chargers, as our guide on [OCPP and charging network lock-in](\u002Fguides\u002Focpp-vs-ocpi-ev-charging-network-lock-in) explains.",{"heading":114,"list":115,"after":122},"A buying checklist, and how we set it up",[116,117,118,119,120,121],"A published Modbus register map or SunSpec implementation note for the inverter, the battery and the meter.","Local access that works without a cloud account, or with credentials the owner can renew locally.","A wired RS485 or Ethernet port, not only Wi-Fi.","A firmware policy with release notes, so changes to local access are announced.","An existing Home Assistant integration with a local IoT class, or a documented API.","For a microinverter array coupled to a hybrid, as described in our guide to [AC coupling microinverters to a hybrid inverter](\u002Fguides\u002Fac-coupling-microinverters-hybrid-inverter), local access to both systems.",[123],"Battery data deserves the same openness; our guide to [second-life EV batteries as home storage](\u002Fguides\u002Fsecond-life-ev-battery-home-storage) discusses how much depends on the battery management system's own data. On our projects, we specify equipment with documented local interfaces, run shielded twisted-pair RS485 and Ethernet cabling to the inverter location during installation, place the equipment on its own network segment, and set up read-only monitoring in Home Assistant or the owner's preferred platform. Network and controls work is part of our [low-voltage services](\u002Fservices\u002Flow-voltage), and electrical work is performed by our licensed partner electricians.",[125,128,131,134,137],{"q":126,"a":127},"Can I read my inverter without the manufacturer's app?","Often yes. Many hybrid inverters accept Modbus RTU on an RS485 port or Modbus TCP on the network, and many Solarman-type loggers can be read locally with pysolarmanv5 or the ha-solarman integration. You need the register map for your model, or SunSpec support.",{"q":129,"a":130},"What baud rate and termination does Modbus RTU use?","The serial line specification requires 9600 and 19200 bps, with 19200 bps and even parity as the defaults; confirm the setting in each device's manual, because every device on the bus must match. The bus is terminated at both ends only, with 150 Ω, or 120 Ω in series with 1 nF where the line is polarized.",{"q":132,"a":133},"Why does my Enphase system need a token for local access?","Since IQ Gateway software 7.0.x, Enphase requires token-based authentication for the local UI and APIs, which it states is to improve security. Owners obtain a token valid for one year from the Enphase cloud with their Enphase account; installer tokens last 12 hours.",{"q":135,"a":136},"Does California Rule 21 give owners local access to their inverter?","No. Rule 21 requires inverters to demonstrate the capability to communicate using IEEE 2030.5, which is a utility-facing requirement. It does not require manufacturers to give owners local access, credentials or a register map.",{"q":138,"a":139},"Is it safe to change inverter settings over Modbus?","Reading is safe; writing is a different matter. Protection, grid-profile and export settings are part of the utility's approval, and changing them can breach the interconnection agreement and void the warranty. Operational changes should go through the manufacturer's documented interface or the installer.",{"text":141},"Send the model numbers of your inverter, battery, meter and data logger for a free written estimate for [monitoring and controls setup](\u002Fservices\u002Flow-voltage). The device-by-device integration plan is provided as part of the contracted work or as a paid consultation.","2026-10-25","solar",136,[146,150,154,158,161,165,168,171,175,179,182,185,189,193,197,200,203,205],{"title":147,"url":148,"publisher":149},"MODBUS over Serial Line Specification and Implementation Guide V1.02","https:\u002F\u002Fcars.uchicago.edu\u002Fsoftware\u002Fepics\u002FModbus_over_serial_line_V1_02.pdf","Modbus-IDA",{"title":151,"url":152,"publisher":153},"Modbus Specifications","https:\u002F\u002Fwww.modbus.org\u002Fmodbus-specifications","Modbus Organization",{"title":155,"url":156,"publisher":157},"Specifications","https:\u002F\u002Fsunspec.org\u002Fspecifications\u002F","SunSpec Alliance",{"title":159,"url":160,"publisher":157},"California Rule 21 Phase 2 Goes Into Effect This Month","https:\u002F\u002Fsunspec.org\u002Fcalifornia-rule-21-phase-2-goes-into-effect-this-month",{"title":162,"url":163,"publisher":164},"pysolarmanv5","https:\u002F\u002Fgithub.com\u002Fjmccrohan\u002Fpysolarmanv5","GitHub",{"title":166,"url":167,"publisher":164},"Solarman Stick Logger (ha-solarman)","https:\u002F\u002Fgithub.com\u002Fdavidrapan\u002Fha-solarman",{"title":169,"url":170,"publisher":169},"SolarAssistant","https:\u002F\u002Fsolar-assistant.io\u002F",{"title":172,"url":173,"publisher":174},"IQ Gateway local APIs or UI access using token (TEB-00060-2.0-EN)","https:\u002F\u002Fenphase.com\u002Fdownload\u002Fiq-gateway-local-apis-or-ui-access-using-token","Enphase Energy",{"title":176,"url":177,"publisher":178},"Enphase Envoy - Home Assistant","https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Fenphase_envoy\u002F","Home Assistant",{"title":180,"url":181,"publisher":178},"Tesla Powerwall - Home Assistant","https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Fpowerwall\u002F",{"title":183,"url":184,"publisher":164},"pypowerwall","https:\u002F\u002Fgithub.com\u002Fjasonacox\u002Fpypowerwall",{"title":186,"url":187,"publisher":188},"New York State Standardized Interconnection Requirements Effective October 1, 2026","https:\u002F\u002Fdps.ny.gov\u002Fnys-standardized-interconnection-requirements-effective-october-1-2026","New York State Department of Public Service",{"title":190,"url":191,"publisher":192},"Battery Storage Rewards Program","https:\u002F\u002Fwww.psegliny.com\u002Fen\u002Fsaveenergyandmoney\u002FGreenEnergy\u002FSolarEnergy\u002FEnergyStorageRewards","PSEG Long Island",{"title":194,"url":195,"publisher":196},"RS-485","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FRS-485","Wikipedia",{"title":198,"url":199,"publisher":196},"Modbus","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FModbus",{"title":201,"url":202,"publisher":196},"CAN bus","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FCAN_bus",{"title":178,"url":204,"publisher":196},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHome_Assistant",{"title":206,"url":207,"publisher":196},"MQTT","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMQTT","open-solar-monitoring-rs485-modbus","en-US",[211,216,220,224],{"slug":212,"title":213,"description":214,"service":143,"date":215,"updated":142},"solar-for-homes","What to evaluate before installing solar on an NYC or Long Island home","Roof condition, shade, fire code setbacks, permits, utility interconnection and incentives: what decides whether solar makes sense for your property.","2026-10-24",{"slug":217,"title":218,"description":219,"service":143,"date":142,"updated":142},"long-island-solar-permits-by-town","Long Island Solar Permits, Town by Town","Long Island solar permits: who issues them, what the unified permit requires, how Islip, Laurel Hollow and East Hampton differ, and the PSEG steps.",{"slug":221,"title":222,"description":223,"service":143,"date":142,"updated":142},"ny-solar-heat-pump-ev-tax-credits-2026","New York Solar, Heat Pump and EV Charger Tax Credits in 2026","Which federal home energy credits ended in 2025 and 2026, and which New York State and NYC solar and storage tax benefits remain as of October 2026.",{"slug":225,"title":226,"description":227,"service":143,"date":142,"updated":142},"solar-fire-setbacks-rapid-shutdown-nyc","Rooftop Solar Setbacks and Rapid Shutdown in New York","FDNY clear paths, ridge setbacks in NYC and the rest of New York, rapid shutdown under the 2025 codes, and microinverters vs string inverters.",1792980724791]