DaAwesomeP
Member
I'm trying to develop an app on my computer that will send and receive commands to my Simply Automated Serial PIM. I hope eventually be able to control and schedule my light switches over the internet. The problem is, I am having too much trouble learning the protocol. All of my switches are programmed and working flawlessly from UPStart.
I have found only one source: PimComm1.5a.pdf (sadly I cannot post the link as I am a new member). It is on the SAI website. It explains the UPB protocol, and it is very descriptive and detailed, but it is a little confusing and I haven't been able to get an commands to work.
Not only would I like to send command, but I would like to receive the events. I have my switches programmed to announce whenever a link or device is activated or deactivated. UPStart shows these events, and the light on the LED blinks. If an example is required to decode, then I can get one from my serial terminal.
I understand that there is a UPB network (0 being global/all and 1 being Network 1, 2 is Network 2, etc.). I also understand Devices and Links. I unlocked UPB Explorer in UPStart, but I cannot get that to work either. I also understand that there is some HEX encoding envolved.
Here is what I would like to do:
I have found only one source: PimComm1.5a.pdf (sadly I cannot post the link as I am a new member). It is on the SAI website. It explains the UPB protocol, and it is very descriptive and detailed, but it is a little confusing and I haven't been able to get an commands to work.
Not only would I like to send command, but I would like to receive the events. I have my switches programmed to announce whenever a link or device is activated or deactivated. UPStart shows these events, and the light on the LED blinks. If an example is required to decode, then I can get one from my serial terminal.
I understand that there is a UPB network (0 being global/all and 1 being Network 1, 2 is Network 2, etc.). I also understand Devices and Links. I unlocked UPB Explorer in UPStart, but I cannot get that to work either. I also understand that there is some HEX encoding envolved.
Here is what I would like to do:
- Recieve device/link states from the PIM in realtime (as a switch is pressed)
- Send commands
- Send and receive commands (Dim, Activate, Deactivate, get status, blink, turn on or off with a specific fade time)