Hallo,
ich habe keinen Erfolg mit einem set kommand direkt in ein Register zu schreiben. Komischerweise macht nur das Register für den roten Kanal Probleme.
Es passiert einfach nichts, offensichtlich wird der Befehl auch "falsch", also mit 00, an den panstamp gesendet.
Logausgabe von regSet 0B.1 46
2015.07.10 17:44:15 5: panStick dispatch 000400C500040B00000000
2015.07.10 17:44:15 4: wz_PanstampSofa -> broadcast (0,0-C5): status wz_PanstampSofa 0B:00000000
Nach diesem Befehl passiert nix.
Logausgabe von regSet 0B.2 46
2015.07.10 17:47:03 3: 00460000
2015.07.10 17:47:03 5: panStick dispatch 000400C700040B00460000
2015.07.10 17:47:03 4: wz_PanstampSofa -> broadcast (0,0-C7): status wz_PanstampSofa 0B:00460000
Hier wird auf den richtigen Wert gedimmt.
Das ist das list vom entsprechenden device:
Internals:
CHANNELS 4
CMD_SIZE 10
DEF 04
IODev nn_F2F_FBF_panStick
LASTInputDev panStick
MSGCNT 399
NAME wz_PanstampSofa
NR 255
STATE 00460000
SWAP_00-ProductCode 0000002200000003
SWAP_00.1-ManufacturerID 00000022
SWAP_00.2-ProductID 00000003
SWAP_01-HardwareVersion 00100040
SWAP_02-FirmwareVersion 00020003
SWAP_03-SystemState 01
SWAP_04-FrequencyChannel 00
SWAP_05-SecurityOption 00
SWAP_06-SecurityPassword 00
SWAP_07-SecurityNonce 33
SWAP_08-NetworkID B547
SWAP_09-DeviceAddress 04
SWAP_0A-PeriodicTxInterval 0E10
SWAP_MISSED 1
SWAP_Sent_unconfirmed 3 Sent_unconfirmed
SWAP_lastRcv 2015-07-10 17:47:03
SWAP_lastSend 2015-07-10 17:47:03
SWAP_nonce C7
TYPE SWAP_0000002200000003
addr 04
devices
nonce 99
panStick_MSGCNT 399
panStick_TIME 2015-07-10 17:47:03
Readings:
2015-07-10 17:47:03 0B-RGBlevel 00460000
2015-07-10 17:47:03 0B.1-Red 00
2015-07-10 17:47:03 0B.2-Green 46
2015-07-10 17:47:03 0B.3-Blue 00
2015-07-10 17:47:03 0B.4-White 00
2015-07-10 17:27:55 0D-InternalTemperature 00000023
2015-07-09 12:33:34 0E-PowerOnState 3AFFFFFFFF
2015-07-09 12:33:34 0E.1-State 3A
2015-07-09 12:33:34 0E.2-Brightness FF
2015-07-09 12:33:34 0E.3-Color FFFFFF
2015-07-10 17:43:38 0F-Command 11000200000000000000
2015-07-10 17:43:38 0F.1-Cmd 11
2015-07-10 17:43:38 0F.2-Args 000200000000000000
2015-07-10 17:27:55 internaltemperature 35
2015-07-10 17:47:03 state 00460000
Helper:
RGB_SIZE 5
Product:
label RGB driver board with IR
name rgbdriver
pwrdownmode 0
Registers:
11:
HASH(0x2a30ee8)
HASH(0x29fa070)
HASH(0x29fa8c8)
12:
hwmask 02
name IRrecv
swversion
type regular
endpoints:
HASH(0x29e6860)
HASH(0x29face8)
HASH(0x2888dd8)
13:
hwmask
name Temp
swversion
type regular
endpoints:
HASH(0x2a3a1b8)
14:
hwmask
name PowerOn
swversion
type config
endpoints:
HASH(0x2a45608)
HASH(0x2d73658)
HASH(0x2a3a140)
HASH(0x2d23648)
15:
HASH(0x29e6b48)
HASH(0x2d56dd0)
16:
hwmask 08
name Repeater mode
swversion
type config
endpoints:
HASH(0x2a45b48)
17:
hwmask 01
name Bri
swversion
type regular
endpoints:
HASH(0x2d56d58)
18:
hwmask 04
name DMX
swversion 00020001
type config
endpoints:
HASH(0x2a45f20)
19:
hwmask 10
name LedPower
swversion
type regular
endpoints:
HASH(0x2d56c98)
20:
hwmask 20
name IRsend
swversion
type regular
endpoints:
HASH(0x29faac0)
HASH(0x2d56e18)
HASH(0x2d56998)
HASH(0x2d56b30)
22:
hwmask 200
name sensor
swversion
type regular
endpoints:
HASH(0x29dad08)
HASH(0x2d563e0)
23:
hwmask 400
name motion
swversion
type regular
endpoints:
HASH(0x2d56158)
sentList:
ARRAY(0x33ff178)
ARRAY(0x33ff208)
ARRAY(0x33ff298)
Attributes:
IODev nn_F2F_FBF_panStick
ProductCode 0000002200000003
devStateIcon {(SWAP_0000002200000003_devStateIcon($name),"toggle")}
group _hidden
room Wohnzimmer
userReadings internaltemperature:0D-InternalTemperature {hex(ReadingsVal($name,"0D-InternalTemperature","0"))}
userattr lightSceneParamsToSave lightSceneRestoreOnlyIfChanged:1,0
verbose 5
webCmd toggle:on:off:dimUp:dimDown
Liegt das Problem irgendwo bei mir, oder ist das ein generelles Problem?
Grüße, Tobias