CQC Community Support Forum
Solar Assistant - MQTT - Printable Version

+- CQC Community Support Forum (https://cqccommunity.com)
+-- Forum: Community General Discussion (https://cqccommunity.com/forumdisplay.php?fid=1)
+--- Forum: Driver Development (https://cqccommunity.com/forumdisplay.php?fid=4)
+--- Thread: Solar Assistant - MQTT (/showthread.php?tid=5)



Solar Assistant - MQTT - kfly - 01-13-2024

I know its not really a driver since it uses MQTT. But hay this really isn't supported by me either Smile.

[Image: eqcX5P0.png]

https://solar-assistant.io/



Overview
This is a very special driver in that it actually allows you to create 'pseudo fields' whose values are

1. Import the attached template into CQC admin screen(File/Tools/Import packages)
2. Start the MQTT Broker in the Solar Assistant device config screen.
3. Install CQC MQTT Driver and name the Moniker:  “SolarAssistant”
4. Edit the Config file as per your inverter setup:
5. Install CQC  LogicSrv driver and add the 3 fields and source fields(to calculate percentages for the real time gauges)
6. Create/Edit MQTT config file for data to be accessed by CQC
“C:\Program Files (x86)\CQC\CQCData\Server\Data\MQTT\SolarAssistant”


.zip   SolarAssistantV1.zip (Size: 816.8 KB / Downloads: 0)


To add 3 fields to the LogicSrv Configuration screen (to hold calculation for gauges)
Of course my Inverter is a 3K invert you should change 3000 to match your inverter so gauges are  correct.(note Since there is no gauge widget had to make images – 10% 20% 30%,etc)

Defined Fields Source Fields Formula
BatteryPowerPercent SolarAssistant.BatteryPower 10 *  %(1) / 3000
GridPowerPercent SolarAssistant.GridPower 10 *  %(1) / 3000
LoadPowerPercent SolarAssistant.LoadPower 10 *  %(1) / 3000

My MQTT  Config file:
(highly recommend downloading and running MQTT Explorer software  to get your fields for config file)
C:\Program Files (x86)\CQC\CQCData\Server\Data\MQTT\SolarAssistant