Reading data from cFos Power Brain Wallbox

The cFos Power Brain Wallbox returns the most important data as JSON in the HTTP call http://ipaddress/cnf?cmd=get_dev_info. The following files are necessary to read the most important values for the connected power meters (in my case two S0 meters are connected):


Thing http:url:cfosm25 "CFos Wallbox M25" [baseURL="",refresh=60] {
    Type number : carpower "Text" [ stateTransformation="JSONPATH:$.devices[2].power" ]
    Type number : housepower "Text" [ stateTransformation="JSONPATH:$.devices[1].power" ]
    Type number : totalenergy "Text" [ stateTransformation="JSONPATH:$.devices[0].total_energy" ]
    Type string : status "Text" [ stateTransformation="JSONPATH:$.devices[0].evse.cp_state" ]


Number CFosM25CarPowerLocal "CFosM25CarPowerLocal" <status> { channel="http:url:cfosm25:carpower" }
Number CFosM25HousePowerLocal "CFosM25HousePowerLocal" <status> { channel="http:url:cfosm25:housepower" }
Number CFosM25TotalEnergyLocal "CFosM25TotalEnergyLocal" <status> { channel="http:url:cfosm25:totalenergy" }
String CFosM25StatusLocal "CFosM25StatusLocal" <status> { channel="http:url:cfosm25:status" }

The documentation for the cFos Power Brain HTTP API is available here:

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.