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”
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)
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
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE MQTTCfg PUBLIC "urn:charmedquark.com:CQC-MQTTCfg.DTD" "CQCMQTTCfg.DTD">
<MQTTCfg Version="1" MQTTPort="1883" MQTTAddr="192.168.2.191">
Kfly (Kevin) and I developed a CQC Driver for RainMachine that interfaces with the REST API that the hardware provides.
It currently works with the Mini-8, Pro, and Touch HD models. The driver will query for program and zone names and settings, and give you the ability to view and control various aspects of the device.
All of the program and zone settings will have to be managed through the RainMachine application, as this driver only displays information that has already been programmed in the device. It also allows manual start and stop operations of programs and zones along with the ability to Snooze the Rainmachine for up to 365 days (i.e. disable) or Pause a currently running program and/or zone for up to 12 hours.
See the Help file (attached) for more information on how this driver works.
Updated to V1.96 which fixes the way the Snooze start time is gathered, and also adds the RainLastStartTime field which provides a date/time when the last Rain event occurred if you have a Rain sensor.
Updated to V1.97 to fix a few bugs that occur between the various systems.
Updated to V1.99 to fix a bug that occurred on a RainMachine update that now read 8 days of upcoming weather rather than the 7 it did before. Also updated the http timeout request from 4 seconds to 8 seconds which seems to settle down the number of times the driver times out due to no data received.
Posted by: kfly - 01-11-2024, 01:32 PM - Forum: User Systems
- No Replies
Figured I would post my CQC screens for all those DIY'ers out there....
Pretty self explanatory. Screen captures in menu(top menu) order
Current setup is Wall mounted iPad 2's
Finally got around to writing a quick driver to interface with Tesla. I used the TeslaFi with aToken interface instead of the native Tesla api as there is lots of issues with polling your car and it not going to sleep. TeslaFi api seems to be very advanced and does a great job at letting the car go to sleep, so I used it... Looks like TeslaFi polls the car every minute or two. CQC Driver updates every 30 seconds. TeslaFi limits all requests and commands to 3 data calls per minute but that should be enough.
Test Driver attached. All data fields are read only.