Search found 20 matches

by tony.matthews1
Wed Jan 22, 2025 6:27 pm
Forum: OpenAPI
Topic: problem Signature
Replies: 2
Views: 7851

Re: problem Signature

Looks like the same problem as previously?
You have used CR LF in the encoding string instead of character literals \\r\\n.
by tony.matthews1
Sat Jan 11, 2025 11:52 am
Forum: OpenAPI
Topic: Esp8266
Replies: 16
Views: 98707

Re: Esp8266

Not using Open API, but this may be of interest: https://github.com/assembly12/Foxess-T- ... ware-setup
by tony.matthews1
Fri Jan 10, 2025 4:02 pm
Forum: OpenAPI
Topic: Esp8266
Replies: 16
Views: 98707

Re: Esp8266

No, I have not heard of anyone doing this.
by tony.matthews1
Fri Jan 03, 2025 11:02 am
Forum: OpenAPI
Topic: Signature problem when request with postman to api
Replies: 5
Views: 5826

Re: Signature problem when request with postman to api

The most common problem when creating a signature is that the special characters are converted before the string is encoded but the string values are literals. This especially may be the case if the string is passed through multiple stages of processing.

That is the string being encoded must ...
by tony.matthews1
Wed Jan 01, 2025 12:52 pm
Forum: OpenAPI
Topic: Signature problem when request with postman to api
Replies: 5
Views: 5826

Re: Signature problem when request with postman to api

Have a look at the Open API documentation here: https://www.foxesscloud.com/public/i18n/en/OpenApiDocument.html#get20device20real-time20data0a3ca20id3dget20device20real-time20data4303e203ca3e

The real time data query is a post so does not have URL parameters. You need to post a body with the serial ...
by tony.matthews1
Thu Nov 21, 2024 1:26 pm
Forum: Customer/End User Help
Topic: Is my BMS Max Charge Current being overly-restricted?
Replies: 3
Views: 1574

Re: Is my BMS Max Charge Current being overly-restricted?

What BMS firmware do you have?

We've noted that charge current is more restricted from firmware 1.014: this is case the max charge currrent is restricted to 15A below 20C (lowest cell temperature) and 10A below 15C. This was raised with Fox but I don't know if they have done anything about it yet ...
by tony.matthews1
Mon Oct 14, 2024 10:59 pm
Forum: OpenAPI
Topic: Setting max charge via API
Replies: 3
Views: 6074

Re: Setting max charge via API

Charging via Open API for inverters that support setting Max SoC via a schedule is broken at the moment and will return Write Failure.

Hopefully, when Fox updates Open API, they will also fix this. More info here: https://github.com/TonyM1958/FoxESS-Cloud/wiki/Fox-App-v2#problems-setting-schedules ...
by tony.matthews1
Mon Oct 14, 2024 10:52 pm
Forum: OpenAPI
Topic: API 503 errors
Replies: 4
Views: 6763

Re: API 503 errors

The error is service unavailable and is being seen by everyone right now.

The assumption is that Fox are doing some work...
by tony.matthews1
Mon Sep 23, 2024 5:02 pm
Forum: OpenAPI
Topic: Reconciling API data with Fox Cloud 2.0 app
Replies: 6
Views: 9693

Re: Reconciling API data with Fox Cloud 2.0 app

There's a lot of stuff wrong with the Open API data from the point of view of PV generation and you can't get the Production data as shown in the Fox Apps. As it happens, the Fox Production data is wrong as well when you are looking at the Day figures. You have to look at the Month figures by Day to ...
by tony.matthews1
Thu May 09, 2024 3:18 pm
Forum: OpenAPI
Topic: Open API documentation from Fox
Replies: 0
Views: 9730

Open API documentation from Fox

can be found here: OpenAPI
by tony.matthews1
Wed Apr 26, 2023 2:44 pm
Forum: Home Assistant
Topic: H3 Inverter & ModBus help
Replies: 19
Views: 15719

Re: H3 Inverter & ModBus help

Hi Chris,

Pending the update of Nathan's code, the code I'm currently running for my H1 inverter is here: https://github.com/TonyM1958/HA-Foxess-Modbus

The readme page gives info on setting up the RS485 connection, how to setup HA and selecting the modbus profile for your H3 inverter.

You will ...
by tony.matthews1
Thu Apr 06, 2023 12:27 pm
Forum: Sensors
Topic: Some useful calculation templates?
Replies: 4
Views: 11385

Re: Some useful calculation templates?


Hi Tony, can I ask regarding inverter efficiency power out / power in does this take into account DC charging of the battery because my inverter efficiency looks very low?

Thanks, Chris


Yes it should - how low is your efficiency showing and did you pick up all the sensors correctly, as there ...
by tony.matthews1
Tue Apr 04, 2023 10:38 pm
Forum: Sensors
Topic: Some useful calculation templates?
Replies: 4
Views: 11385

Re: Some useful calculation templates?

Following a discussion, here are a couple of statistics sensors that create rolling averages to remove some of the noise from the raw values.
The last 2 sensors convert inverter power in / out to kWh. These are used in the inverter efficiency calculation above.


sensor:
- name: battery_cell ...
by tony.matthews1
Tue Apr 04, 2023 11:50 am
Forum: Sensors
Topic: Some useful calculation templates?
Replies: 4
Views: 11385

Re: Some useful calculation templates?

Note on the templates above. I renamed some of the entities so they work with both USB and LAN connections and for consistency with Nathan Marlor. The sensor name changes I made are:

1. Remove dash from PV1-Voltage, PV1-Current, PV1-Power, PV2-Voltage, PV2-Current, PV2-Power, Battery-SoC, Battery ...
by tony.matthews1
Mon Apr 03, 2023 2:26 pm
Forum: Sensors
Topic: Some useful calculation templates?
Replies: 4
Views: 11385

Some useful calculation templates?

I've added some templates to my configuration.yaml to calculate various things I wanted to track / display. In case this is useful to anyone here, this is what I added:



#Templates enable math operations against states/values to give us better data
template:
- sensor:
# calculate inverter ...
by tony.matthews1
Mon Apr 03, 2023 2:13 pm
Forum: Sensors
Topic: H1 LAN port sensors at 30000 - 30023
Replies: 1
Views: 6944

Re: H1 LAN port sensors at 30000 - 30023

Looking at this, its hard to work out if there are new values here, so I've captured my HA dashboard (connected via RS485) and taken screen shots of the 30000 and 31000 LAN registers at about the same time:


HA dashboard.jpg modbus 30000.jpg modbus 31000.jpg

For example, RS485 is reporting BMS ...
by tony.matthews1
Mon Apr 03, 2023 12:25 pm
Forum: Sensors
Topic: H1 LAN port sensors at 30000 - 30023
Replies: 1
Views: 6944

H1 LAN port sensors at 30000 - 30023

Probing my H1-6.0-E inverter at modbus address 30000 and finding a bank of 24 registers with values like this:


modbus LAN 30000.jpg


This thread is intended to look at these values and to try and work out what they might be.

Thanks to @eben smit, @bob dopper on FB who found these whilst ...
by tony.matthews1
Thu Mar 30, 2023 10:20 am
Forum: Home Assistant
Topic: Graphical Modbus Tool that I found useful
Replies: 2
Views: 2667

Graphical Modbus Tool that I found useful

I've seen various references to modpoll (which is great for cross paltform) but wanted something a bit more graphical. Found this tool useful for poking around the modbus data via either LAN or RS485. This screen shot is showing data pulled from my inverter using the LAN with the inverter at 192.168 ...
by tony.matthews1
Tue Mar 21, 2023 11:36 am
Forum: EPS - Emergency Power Supply (Battery Backup)
Topic: Earthing and N-E bonding
Replies: 12
Views: 25102

Re: Earthing and N-E bonding

Came across this diagram in the Fox AIO installation guide, using internal switch mode:


bonding.jpg


Clearly shows direct bonding of EPS N to grid N (no switch). This avoids EPS floating and generating a signficant N-E potential.

Also shows EPS E not connected. I checked this and EPS E is ...
by tony.matthews1
Sun Mar 19, 2023 5:10 pm
Forum: Inverter Hardware
Topic: Setting a static IP address on your inverter
Replies: 3
Views: 12694

Setting a static IP address on your inverter

I was finding that the inverter ethernet port was switching off after a while. It seems there is a problem with DHCP so you may need to use a static IP address for the port to work. It took a while to work out exactly how to do this, so here's a step by step guide for anyone else.

First, go to your ...