Closed slovdahl closed 3 years ago
I have managed to run bosch_rawscan_cli.py
and got a rawscan_XXXX.json
dump out of it. How are the bosch_termostat_client/db/*.json
files maintained? Are they generated by some kind of script? Or manually? I tried looking for a script but couldn't find anything.
I have looked through the existing DB JSON files, but there are still many parts I don't understand. I went ahead and added a new one for my device type anyway, but any guidance here would be greatly appreciated.
@pszafer what about all the entries in the DB file? I'm pretty sure that not all of them are relevant. Do you have any pointers?
I'm not 100% sure if I'm doing this right, so please help me out if this doesn't make sense 🙂
I have a Bosch Compress 7001i heat pump, and I have successfully used e.g. regofetcher to read data from it. I stepped through the code in the debugger, and noticed that
bosch_thermostat_client/gateway/ivt_gateway.py
and theget_device_model
method didn't return anything. This PR adds the device code. It may very well be that mapping it torc300.json
is not the right thing to do here, but I'm not really sure how to proceed here, so any pointers would be appreciated.