Closed Olepir closed 4 years ago
Absolutely. If you don’t specify a file, w1 device, or mqtt the RM device will be used.
Absolutely. If you don’t specify a file, w1 device, or mqtt the RM device will be used.
Can you explain more – what you meant by “specify a file, w1 device, or mqtt”? Thanks!
Just don't include w1DeviceID, temperatureFilePath, or mqttURL in your config.json file. It'll fall back to trying the Broadlink device to read the temperature if they're missing.
Just don't include w1DeviceID, temperatureFilePath, or mqttURL in your config.json file. It'll fall back to trying the Broadlink device to read the temperature if they're missing.
Can you post a sample for settings?
Sure thing. This should work:
.....
"accessories": [{
"name": "Heat Pump",
"type": "air-conditioner",
"defaultCoolTemperature": 21,
"defaultHeatTemperature": 23,
"data": {
"off": "260076006d.......",
"on": "260006016d......."
....
Feel free to post your config.json if you can't get it to work.
"off": "260076006d.......", "on": "260006016d……." is these settings for on/off your “Heat Pump”?
is these settings for on/off your “Heat Pump”?
Haha, no. I truncated it so it was easier to read.
If you'd like, my actual config.json is here.
Here’s settings for a floor heater that I trying to control with no luck
{ "platform": "BroadlinkRM", "name": "Broadlink RM", "hideScanFrequencyButton": false, "hideLearnButton": false, "hideWelcomeMessage": false, "accessories": [{ "name": "Floor Heater", "type": "air-conditioner", "data": { "temperature22": { "pseudo-mode": "heat", "data": "b200ba000..." }, "temperature18": { "pseudo-mode": "cool", "data": "b200ba000..." } } }] }
Which part isn't working, the control or reading the temperature?
Also, can you share your logs so we can see what is happening?
0|homebrid | [11/6/2019, 9:30:30 PM] There was a problem reading your config.json file.
0|homebrid | [11/6/2019, 9:30:30 PM] Please try pasting your config.json file here to validate it: http://jsonlint.com
0|homebrid | [11/6/2019, 9:30:30 PM]
0|homebrid | SyntaxError: Unexpected end of JSON input
0|homebrid | at JSON.parse (
Well the config.json you pasted validates fine on http://jsonlint.com. Are you sure that's the config file it's reading? Does homebridge run with a -U paramter pointing to the directory holding that file?
Yes, that’s the file… ((
Is possible to control RF thermostats and read temperature with RM Pro? Thanks