command before sending the ack follow by the feedback.
ex 02 62 07 98 B6 0F 11 FF 06 02 50 07 98 B6 0F 9C E2 2B 11 FF
---------command On------- ack -----------------
status-----------------------
If the regex is the command \x02\x62\x07\x98\xB6\x00\x11\(\x00)?
(\xFF)? it works. But it's not the status
Iviewer does not receive any feedback just the echo ?
On 18 juin, 13:50, Jarrod Bell <jar...@guilink.com> wrote:
> Try setting EOM to \x06 because every message that comes back ends
> with \x06 if it was successful right?
> Are there any unsolicited commands that are sent automatically, that
> would not contain an ACK (\x06) ?
>
> Then try regex:
> \x07\x98\xB6\x0F\9Cx\E2\x20\x11(\x00)?(\xFF)?
>
> Then adjust your "On" capture group to point to 'capture index = 2'
> and on value = \xFF - note above you wrote x\ instead of \x, make
> sure you enter \x
>
> Let me know if that works.
>
> Jarrod
>
> On Jun 18, 10:58 pm, Samtronic <samtroni...@gmail.com> wrote:
>
>
>
> > Hi !
>
> > I have a Insteon powerlinc modem serial (PLM 2412s) for lighting. The
> > PLM can send RS-232 command. Here some linkshttp://www.madreporite.com/insteon/commands.htmhttp://www.aartech.ca/....
>
> > My problem is the feedback. I receice no feedback. I configure button
> > On and Off.
>
> > Command value for On: \x02\x62\x07\x98\xB6\x00\x11\xFF
>
> > \x02 All command start with
> > \x62 Insteon standard message
> > \x07\x98\xB6 Address of the switch
> > \x00 Flag
> > \x11 command 1 ON
> > \xFF command 2 Level 255
>
> > Command value for Off: \x02\x62\x07\x98\xB6\x00\x11\x00
>
> > x00 Level 0 Off
>
> > Commands works well , but I don't know for carriage return, If a put
> > \x0D the command doesn't work.
> > After the command the PLM should send this command: \x02\x50x
> > \x07\x98\xB6\x0F\x9C\x\E2\x20\x11\xFF or \x00
>
> > \x02 All command start with
> > \x50 IM command number
> > \x07\x98\xB6\ switch address
> > \x0F\x9C\x\E2 PLM address
> > \x20 flag
> > \x11 comman 1 ON
> > \xFF or \x00 Level
>
> > With Docklight I receive this command:
>
> > 2010-06-17 22:50:03.556 [RX] - 02 62 07 98 B6 0F 11 FF 06 02 50 07 98
> > B6 0F 9C E2 2B 11 FF
>
> > x\06 ack
>
> > I try different regex with no success. The last I try is this regex
> > .*\x07\x98\xB6\x0F\9Cx\E2\x20\x11(\x00)?(\xFF)?
> > I just keep the last digits. It is ok ?
>
> > Feedback configuration
>
> > Name On
> > Capture index 1
> > Data type Digital
> > Target type Digital
> > Join 200
> > Token type
> > Off value
> > On value x\FF
>
> > Name Off
> > Capture index 1
> > Data type Digital
> > Target type Digital
> > Join 201
> > Token type
> > Off value
> > On value x\00
>
> > System configuration
> > Maintain constant connection
> > No heartbeat
> > No EOM
>
> > I create this regex (.*) to see the data come in and I receice some
> > character like P b. I think it's ASCII.
>
> > Thanks
>
> > Steven
> > P.S sorry for my english
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: Insteon PLM feedback"
Post a Comment