Hi @andrewfg , I managed to setup a sniffer with Charles proxy and an older phone, so that I can see the traffic unencrypted, however I can’t see an explicit string like “api-key” or anything similar. Do you maybe have any hint what should I look for?
There are tags like “id”, “Plants”, “plantPrivileges”, “tenantId”, “applicationSetId” “preferredTenantId”…also “contactName” has a strange 6-5-5-5-5 character long string…
edit: Is it by any chance the “Ocp-Apim-Subscription-Key” in the header?
edit2: yes, it is
You can find your API key by snooping on the traffic between the RDS App on an iPhone/iPad and the remote ClimatixIC server. The communication is encrypted using HTTPS so unfortunately you cannot just snoop the traffic using a regular network snooper e.g. WireShark or similar. Instead you have to use an interposing proxy server such as Charles Proxy.
For Charles proxy the steps are as follows…
Install Charles on a PC within your (W)LAN, and make sure that the PC has no firewall blocking access to it.
Follow Charles read me instructions to export an SSE Certificate, and install it on your iPad/iPhone.
Follow Charles read me instructions to identify its IP address, and port number for SSE proxying.
In your iPad WiFi settings, select ‘Use Proxy Server’ and enter the IP address and port number above.
Start the recording function in Charles, and enable SSE proxying for the url ‘https://api.climatixic.com’
Open the App on your iPad and observe the traffic; look for the ‘Ocp-Apim-Subscription-Key’ header.
with android, you need to use a phone with < Android 7.0 as from that version Root certificate can only be installed by enabling a custom option on the apk - which is only possible for the app’s developers afaik.
Small success here, changes are being published from Openhab to MQTT and MQTT values are read into HA mqtt sensors.
Afaik its currently one-way (read only) but the concept is working, I’d need to dig into it a bit more how to create the proper switch templates, how to update data (switch on/off) etc…
I install the OpenHAB and connect my Home Assistant. In the openHAB have some problem, because only few entity working fine, “Occupancy Mode Present”, “Room Humidity”, “Room Temperature”. I can switch on/off the termostat with Occupancy Mode, but I cant change Comfort, Economy, Unoccupied mode. Working everything fine in the Climatixic webpage, I think the Siemens RDS Binding (3.3.0) have some issue.
Try the updated version, JAR file in this post: Siemens RDS Bindings - #15 by AndrewFG - Bindings - openHAB Community and description how to use it few posts above.
(or wait for the next official openhab milestone)
Btw how did you integrate the switch entities? via OH REST API?
Yes, I read it the post from the new JAR file, but I didn’t iplement, because I didn’t acces the OpenHAB file system. I runining the OpenHAB in a Docker.
I use it OpenHAB integration with the Home Assistant.
You need to 1) use the OH UI to uninstall the release version of the OH binding, and then 2) download the newer version of the binding JAR file and drop it in usr/share/openhab/addons/
I deleted Docker image, and installed the Linux in the VirtualBox, and install OpenHAB, after that I accessed the file system. I dropped the JAR file the addons directory, and working everything is fine. Thank you for your help.
I have one problem with the Home Assistant entitys, because they aren’t refresing automaticly. I have checked the Entitys in the OpenHAB however, they are automaticly refreshing there.
If I click OpneHAB integration => system settings => refresh in the Home Assistant, they start refreshing, but after that it doesen’t work again. Could you please help me solve this problem?
I am not an expert on MQTT … but it probably depends on whether the MQTT server on OH is set to push on change, and/or whether the MQTT client on HA is set to pull by polling.