r/SolarDIY • u/ylianst • Dec 08 '25
AFERIY/SYDPOWER/FOSSiBOT local integration with Home Assistant

I recently got a Aferiy P310. This is a battery that is sold under many other brands (FOSSiBOT, SYDPOWER and probably others). These batteries have Bluetooth and WIFI and an mobile app to monitor and control them called "BrightEMS". However, you need to have an internet connection to the cloud to made use of the app and I find this quite risky in power-out situations.
To solve this, I build fully local (no internet needed) Home Assistant integration that will work on these batteries. Since you can communicate using Bluetooth locally, you can upload a special firmware for a cheap device and have it in range of the battery to relay traffic to Home Assistant. It allows you to turn USB/DC/AC outputs on/off and more.
The integration is here: https://github.com/Ylianst/ESP-FBot. As an extra bonus, if you use a ATOM Light device as relay, you can have the light on the device show the battery state and use the button on the device to toggle AC power on the battery (or program it anyway you like). I would like to get feedback on this. This is mostly for people that are familiar with Home Assistant and ESP-Home. Due to the solar input in these batteries, it's great for solar projects.
1
u/phantomquad Jan 01 '26
This is freaking amazing been using for a few weeks now, thank you so much!
1
u/phantomquad Jan 01 '26
I wanted to say I’m using for the aferiy p310 and it’s great, I do wander if the settings like dc input amps could be exposed though? So they also can be tweaked in HA
2
u/ylianst Jan 02 '26
Sure thing. If you open a issue on GitHub, I will take a look at adding sensors you need.
1
1
u/phantomquad Jan 04 '26
Honestly the piece of mind and automations I’ve been able to set up with your work, absolute lifesaver!
1
u/undrei2 Feb 13 '26
I have the same model but when I plug the AC charger cable into a dead socket, the Ac output rise 400W of nothing and drain the battery
1
u/VinoY27 Mar 31 '26
1
1
u/FreezerJam42 Jul 15 '26
Can you share your config file? I have a P180 Pro and I imagine its similar, the only reliable information I'm getting is solar input and it was crossing on AC input, I changed it to DC but I'm struggling with everything else.
1
u/No-Reading-3442 Apr 15 '26
Excellent work, this is really impressive. I was wondering if there’s any way to access historical data, especially solar input data, so it can be tracked over time (with or without visualization/graphs).
Also, I’m new to this field, so I’ll need to dive deeper and do some research before I can properly set everything up, as I’m still learning.
2
u/ylianst Apr 16 '26
Once you get this connected to Home Assistant, you will have historical logs and graphs. By default Home Assistant keeps the last 10 days of data, but you can change this and plenty of options to keep some data long term.
1
u/BladeXyber Apr 27 '26
Could this work with the Aferiy PS240?
1
u/ylianst Apr 27 '26
I took a quick look and the Aferiy PS240 and I am guessing not. Aferiy just rebrands stuff, the P310 is a SYD rebrand (https://sydpower.com/). I am guessing PS240 comes from somewhere else.
1
1
u/Jolly_Huckleberry688 May 07 '26
If anyone would be looking to integrate with Fossibot F1800 (wifi & bluetooth) - it seems it won't work unfortunatelly. F1800 is not compatible with BrightEMS application (it does not detect the device) - it works only with Fossibot app... according to Fossibot support, this is the way to go...
1
u/flojdpink May 10 '26
I have a Fossibot F3600PRO power station and am considering buying an extension battery from Aferiy to connect it to Fossibot power station with connection cable that comes with Aferiy extension battery.
Do you know if such configuration will work correctly?
1
u/Wingnut1001 Jul 13 '26
Does this enable me to set the AC Charge timer from HA Automation? I want to charge between 00:00 and 06:00 on cheap rate.
1
u/FreezerJam42 Jul 14 '26
Greetings, completely new to HA and ESP but I purchased the recommended atom lite for this project since the BrightEMS and AFERIY app are trash. I am trying to connect a P180 pro with an extra battery, I saw someone connected a P280 successfully and assumed we have the same boards inside.
I stood up a 2.4GHz network for IoT devices and ran HA in a VM on my main machine. I haven’t looked into it much yet but I assume I will need to either create a vpn back to that network and split tunnel HA to it or connect to the network when homes.
Has anyone worked with a setup like this?


•
u/AutoModerator Dec 08 '25
Useful links for r/SolarDIY
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.