Monday, June 21, 2010

Re: Insteon PLM feedback

0 comments
Hi Jarrod !

I have two questions about feedback. My feedback is \x07\x98\xB6\x0F
\x9C\xE2\x2B\x11(\x00)?(\xFF)?
x11 represent the ON command. I have another command for status x19.
Can I use the same regex for both commands ?

EX \x07\x98\xB6\x0F\x9C\xE2\x2B\x.[11-19](\x00)?(\xFF)? In the Regex
tester it seems to work. Second question, it is possible
to have the ON button active with values from 01 to FF in the regex ?

Thanks
Steven


On 18 juin, 23:31, Samtronic <samtroni...@gmail.com> wrote:
> Finally everything works perfectly.Your regex was good but without
> EOM. Even the slider works flawlessly.
> Thanks for your help.
>
> Steven
> On 18 juin, 19:55, Samtronic <samtroni...@gmail.com> wrote:
>
>
>
> > I did more test and the problem I found is thePLMsend a echo of the
> > 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 (PLM2412s) for lighting. The
> > > >PLMcan 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 thePLM 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\E2PLMaddress
> > > > \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

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com