Nach dem HP 8620 wollte ich auch meinen neuen Brother ADS-1700W Scanner in FHEM darstellen. Und so gehts :)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| defmod BUE_ADS1700W_STATUS HTTPMOD http://ads1700w/ft/gen_maintenance 3600
attr BUE_ADS1700W_STATUS userattr reading01Name reading01XPath-Strict reading02Name reading02XPath-Strict reading03Name reading03XPath-Strict reading04Name reading04XPath-Strict reading05Name reading05XPath-Strict reading06Name reading06XPath-Strict reading07Name reading07XPath-Strict reading08Name reading08XPath reading08XPath-Strict reading09Name reading09XPath-Strict reading10Name reading10XPath-Strict reading11Name reading11XPath-Strict reading12Name reading12XPath-Strict
attr BUE_ADS1700W_STATUS DbLogExclude .*
attr BUE_ADS1700W_STATUS enableControlSet 1
attr BUE_ADS1700W_STATUS httpVersion 1.1
attr BUE_ADS1700W_STATUS reading01Name Model
attr BUE_ADS1700W_STATUS reading01XPath-Strict //Model_name/text()
attr BUE_ADS1700W_STATUS reading02Name Serial_Number
attr BUE_ADS1700W_STATUS reading02XPath-Strict //Serial_Number/text()
attr BUE_ADS1700W_STATUS reading03Name Firmware_Version
attr BUE_ADS1700W_STATUS reading03XPath-Strict //MainVersion/text()
attr BUE_ADS1700W_STATUS reading04Name PickupRollerPagesThreshold
attr BUE_ADS1700W_STATUS reading04XPath-Strict //RemainingPick/text()
attr BUE_ADS1700W_STATUS reading05Name PickupRollerPagesUsed
attr BUE_ADS1700W_STATUS reading05XPath-Strict //RemainingPick_current/text()
attr BUE_ADS1700W_STATUS reading06Name ScheduledMaintenancePagesThreshold
attr BUE_ADS1700W_STATUS reading06XPath-Strict //RemainingScheduled/text()
attr BUE_ADS1700W_STATUS reading07Name ScheduledMaintenancePagesUsed
attr BUE_ADS1700W_STATUS reading07XPath-Strict //RemainingScheduled_current/text()
attr BUE_ADS1700W_STATUS reading08XPath SeparationPadPagesThreshold
attr BUE_ADS1700W_STATUS reading08XPath-Strict //RemainingPad_Threshold/text()
attr BUE_ADS1700W_STATUS reading09Name SeparationPadPagesUsed
attr BUE_ADS1700W_STATUS reading09XPath-Strict //RemainingSeparation_Pad/text()
attr BUE_ADS1700W_STATUS reading10Name ScannedPagesTotal
attr BUE_ADS1700W_STATUS reading10XPath-Strict //ScanPage/text()
attr BUE_ADS1700W_STATUS reading11Name RollerReplacements
attr BUE_ADS1700W_STATUS reading11XPath-Strict //RollerReplace/text()
attr BUE_ADS1700W_STATUS reading12Name PaperJams
attr BUE_ADS1700W_STATUS reading12XPath-Strict //PaperJams/text()
attr BUE_ADS1700W_STATUS room Büro
attr BUE_ADS1700W_STATUS stateFormat Pages: ScannedPagesTotal Modell: Model SN: Serial_Number
attr BUE_ADS1700W_STATUS verbose 0
|