1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi, Yes, you can do the transformation via IoT Rule directly. The IoT Rule SQL could look like this:
SELECT { "state": { "reported": { "firwmare": firmware , "wifi-connection-status": connection} } } FROM 'custom/topic'
Where firmware and connection have to be replaced with your key-value from your topic
Then you can use the republish action to send it to the shadow.
답변함 일 년 전