Using MQTT Bridge and MySensors - getting started

0

Hello
I've set up MQTT bridge, from a legacy (MySensors) system which end-devices publish to, which now sends updates via MQTT to AWS-IoT.

I can now Test this by subscribing to topics - and can see the json arriving:
{
"topicFilter": "mygateway2-out/////+",
"qos": 0,
"messages": [
{
"format": "json",
"topic": "mygateway2-out/61/255/3/0/0",
"timestamp": 1620612201680,
"payload": 74
},
{
"format": "json",
"topic": "mygateway2-out/254/255/3/0/0",
"timestamp": 1620612198109,
"payload": 67
}
]
}

I want to be able to injest this into IoT-Core, so I can name, log and graph them. And also potentially "publish" to specific "topics" to control the devices.

I'm not sure where to start with this. Do I need to use SiteWise? Or can I create a lambda to transform these messages, and create "Things" in IoT-Core? Ideally, I'd like new "Things" to be created based on any new "topics" received. This would allow me to have MySensors added and Things created automatically.

I'm not using Greengrass or anything. Just Mosquitto as a broker with an AWS TLS secure Bridge function.

Can anyone steer me in the right direction?

질문됨 3년 전267회 조회
1개 답변
0

Found answer, using Act and Rules to act on messages.

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠