NEWS
Synology und IR-Lesekopf für Stromzähler
-
Liebes Forum,
meinen neuen smarten Stromzähler würde ich gerne mit IR-Lesekopf und ioBroker auf meiner Diskstation auslesen. Leider habe ich trotz vieler Stunden das ganze nicht zum Laufen gebraucht. Folgendes habe ich gemacht:
- IR-Lesekopf ist an Diskstation angeschlossen und wird von der Diskstation in den Systeminfos angezeigt
- Folgende Befehle in ein Skript der Diskstation gepackt und dieses ausgeführt
/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm
chmod 777 /dev/ttyACM0 - Im Container USBDEVICES auf /dev/ttyACM0 gesetzt
- auf der DS und im Container gibt es /dev/ttyACM0
- Wenn ich im Smartmeter-Modul des ioBrokers eine serielle Schnittstelle auswählen möchte, erhalten ich stets die Fehlermeldung "Liste der seriellen Schnittstellen ist nicht verfügbar". Wenn ich /dev/ttyACM0 manuell eintrage, gibt es immer die Fehlermeldung "Error: No or too long answer from Serial Device after last request."
Hat jemand eine Idee für mich, was ich falsch mache?
-
Zeige mal die Ausgabe ( in Code-Tags </> hier einstellen ) von
im Synology root :
ls -l /dev/tty*
-
@carsten6273 s7nd ja direkt ein paar Fallen, die nicht erwähnt wurden!
hast du DSM7?
Seit dem werden USB Geräte u.U. nicht korrekt eingebunden.@carsten6273 sagte in Synology und IR-Lesekopf für Stromzähler:
Im Container USBDEVICES auf /dev/ttyACM0 gesetzt
DOCKER??
-
ls -l /dev/tty* crw-rw-rw- 1 root root 5, 0 Aug 13 16:27 /dev/tty crw------- 1 root root 4, 0 Aug 11 20:14 /dev/tty0 crw------- 1 root root 4, 1 Aug 11 20:14 /dev/tty1 crw------- 1 root root 4, 10 Aug 11 20:14 /dev/tty10 crw------- 1 root root 4, 11 Aug 11 20:14 /dev/tty11 crw------- 1 root root 4, 12 Aug 11 20:14 /dev/tty12 crw------- 1 root root 4, 13 Aug 11 20:14 /dev/tty13 crw------- 1 root root 4, 14 Aug 11 20:14 /dev/tty14 crw------- 1 root root 4, 15 Aug 11 20:14 /dev/tty15 crw------- 1 root root 4, 16 Aug 11 20:14 /dev/tty16 crw------- 1 root root 4, 17 Aug 11 20:14 /dev/tty17 crw------- 1 root root 4, 18 Aug 11 20:14 /dev/tty18 crw------- 1 root root 4, 19 Aug 11 20:14 /dev/tty19 crw------- 1 root root 4, 2 Aug 11 20:14 /dev/tty2 crw------- 1 root root 4, 20 Aug 11 20:14 /dev/tty20 crw------- 1 root root 4, 21 Aug 11 20:14 /dev/tty21 crw------- 1 root root 4, 22 Aug 11 20:14 /dev/tty22 crw------- 1 root root 4, 23 Aug 11 20:14 /dev/tty23 crw------- 1 root root 4, 24 Aug 11 20:14 /dev/tty24 crw------- 1 root root 4, 25 Aug 11 20:14 /dev/tty25 crw------- 1 root root 4, 26 Aug 11 20:14 /dev/tty26 crw------- 1 root root 4, 27 Aug 11 20:14 /dev/tty27 crw------- 1 root root 4, 28 Aug 11 20:14 /dev/tty28 crw------- 1 root root 4, 29 Aug 11 20:14 /dev/tty29 crw------- 1 root root 4, 3 Aug 11 20:14 /dev/tty3 crw------- 1 root root 4, 30 Aug 11 20:14 /dev/tty30 crw------- 1 root root 4, 31 Aug 11 20:14 /dev/tty31 crw------- 1 root root 4, 32 Aug 11 20:14 /dev/tty32 crw------- 1 root root 4, 33 Aug 11 20:14 /dev/tty33 crw------- 1 root root 4, 34 Aug 11 20:14 /dev/tty34 crw------- 1 root root 4, 35 Aug 11 20:14 /dev/tty35 crw------- 1 root root 4, 36 Aug 11 20:14 /dev/tty36 crw------- 1 root root 4, 37 Aug 11 20:14 /dev/tty37 crw------- 1 root root 4, 38 Aug 11 20:14 /dev/tty38 crw------- 1 root root 4, 39 Aug 11 20:14 /dev/tty39 crw------- 1 root root 4, 4 Aug 11 20:14 /dev/tty4 crw------- 1 root root 4, 40 Aug 11 20:14 /dev/tty40 crw------- 1 root root 4, 41 Aug 11 20:14 /dev/tty41 crw------- 1 root root 4, 42 Aug 11 20:14 /dev/tty42 crw------- 1 root root 4, 43 Aug 11 20:14 /dev/tty43 crw------- 1 root root 4, 44 Aug 11 20:14 /dev/tty44 crw------- 1 root root 4, 45 Aug 11 20:14 /dev/tty45 crw------- 1 root root 4, 46 Aug 11 20:14 /dev/tty46 crw------- 1 root root 4, 47 Aug 11 20:14 /dev/tty47 crw------- 1 root root 4, 48 Aug 11 20:14 /dev/tty48 crw------- 1 root root 4, 49 Aug 11 20:14 /dev/tty49 crw------- 1 root root 4, 5 Aug 11 20:14 /dev/tty5 crw------- 1 root root 4, 50 Aug 11 20:14 /dev/tty50 crw------- 1 root root 4, 51 Aug 11 20:14 /dev/tty51 crw------- 1 root root 4, 52 Aug 11 20:14 /dev/tty52 crw------- 1 root root 4, 53 Aug 11 20:14 /dev/tty53 crw------- 1 root root 4, 54 Aug 11 20:14 /dev/tty54 crw------- 1 root root 4, 55 Aug 11 20:14 /dev/tty55 crw------- 1 root root 4, 56 Aug 11 20:14 /dev/tty56 crw------- 1 root root 4, 57 Aug 11 20:14 /dev/tty57 crw------- 1 root root 4, 58 Aug 11 20:14 /dev/tty58 crw------- 1 root root 4, 59 Aug 11 20:14 /dev/tty59 crw------- 1 root root 4, 6 Aug 11 20:14 /dev/tty6 crw------- 1 root root 4, 60 Aug 11 20:14 /dev/tty60 crw------- 1 root root 4, 61 Aug 11 20:14 /dev/tty61 crw------- 1 root root 4, 62 Aug 11 20:14 /dev/tty62 crw------- 1 root root 4, 63 Aug 11 20:14 /dev/tty63 crw------- 1 root root 4, 7 Aug 11 20:14 /dev/tty7 crw------- 1 root root 4, 8 Aug 11 20:14 /dev/tty8 crw------- 1 root root 4, 9 Aug 11 20:14 /dev/tty9 crw------- 1 root root 3, 176 Aug 11 20:14 /dev/ttya0 crw------- 1 root root 3, 177 Aug 11 20:14 /dev/ttya1 crw------- 1 root root 3, 178 Aug 11 20:14 /dev/ttya2 crw------- 1 root root 3, 179 Aug 11 20:14 /dev/ttya3 crw------- 1 root root 3, 180 Aug 11 20:14 /dev/ttya4 crw------- 1 root root 3, 181 Aug 11 20:14 /dev/ttya5 crw------- 1 root root 3, 182 Aug 11 20:14 /dev/ttya6 crw------- 1 root root 3, 183 Aug 11 20:14 /dev/ttya7 crw------- 1 root root 3, 184 Aug 11 20:14 /dev/ttya8 crw------- 1 root root 3, 185 Aug 11 20:14 /dev/ttya9 crw------- 1 root root 3, 186 Aug 11 20:14 /dev/ttyaa crw------- 1 root root 3, 187 Aug 11 20:14 /dev/ttyab crw------- 1 root root 3, 188 Aug 11 20:14 /dev/ttyac crwxrwxrwx 1 root root 166, 0 Aug 11 21:17 /dev/ttyACM0 crw------- 1 root root 3, 189 Aug 11 20:14 /dev/ttyad crw------- 1 root root 3, 190 Aug 11 20:14 /dev/ttyae crw------- 1 root root 3, 191 Aug 11 20:14 /dev/ttyaf crw------- 1 root root 3, 192 Aug 11 20:14 /dev/ttyb0 crw------- 1 root root 3, 193 Aug 11 20:14 /dev/ttyb1 crw------- 1 root root 3, 194 Aug 11 20:14 /dev/ttyb2 crw------- 1 root root 3, 195 Aug 11 20:14 /dev/ttyb3 crw------- 1 root root 3, 196 Aug 11 20:14 /dev/ttyb4 crw------- 1 root root 3, 197 Aug 11 20:14 /dev/ttyb5 crw------- 1 root root 3, 198 Aug 11 20:14 /dev/ttyb6 crw------- 1 root root 3, 199 Aug 11 20:14 /dev/ttyb7 crw------- 1 root root 3, 200 Aug 11 20:14 /dev/ttyb8 crw------- 1 root root 3, 201 Aug 11 20:14 /dev/ttyb9 crw------- 1 root root 3, 202 Aug 11 20:14 /dev/ttyba crw------- 1 root root 3, 203 Aug 11 20:14 /dev/ttybb crw------- 1 root root 3, 204 Aug 11 20:14 /dev/ttybc crw------- 1 root root 3, 205 Aug 11 20:14 /dev/ttybd crw------- 1 root root 3, 206 Aug 11 20:14 /dev/ttybe crw------- 1 root root 3, 207 Aug 11 20:14 /dev/ttybf crw------- 1 root root 3, 208 Aug 11 20:14 /dev/ttyc0 crw------- 1 root root 3, 209 Aug 11 20:14 /dev/ttyc1 crw------- 1 root root 3, 210 Aug 11 20:14 /dev/ttyc2 crw------- 1 root root 3, 211 Aug 11 20:14 /dev/ttyc3 crw------- 1 root root 3, 212 Aug 11 20:14 /dev/ttyc4 crw------- 1 root root 3, 213 Aug 11 20:14 /dev/ttyc5 crw------- 1 root root 3, 214 Aug 11 20:14 /dev/ttyc6 crw------- 1 root root 3, 215 Aug 11 20:14 /dev/ttyc7 crw------- 1 root root 3, 216 Aug 11 20:14 /dev/ttyc8 crw------- 1 root root 3, 217 Aug 11 20:14 /dev/ttyc9 crw------- 1 root root 3, 218 Aug 11 20:14 /dev/ttyca crw------- 1 root root 3, 219 Aug 11 20:14 /dev/ttycb crw------- 1 root root 3, 220 Aug 11 20:14 /dev/ttycc crw------- 1 root root 3, 221 Aug 11 20:14 /dev/ttycd crw------- 1 root root 3, 222 Aug 11 20:14 /dev/ttyce crw------- 1 root root 3, 223 Aug 11 20:14 /dev/ttycf crw------- 1 root root 3, 224 Aug 11 20:14 /dev/ttyd0 crw------- 1 root root 3, 225 Aug 11 20:14 /dev/ttyd1 crw------- 1 root root 3, 226 Aug 11 20:14 /dev/ttyd2 crw------- 1 root root 3, 227 Aug 11 20:14 /dev/ttyd3 crw------- 1 root root 3, 228 Aug 11 20:14 /dev/ttyd4 crw------- 1 root root 3, 229 Aug 11 20:14 /dev/ttyd5 crw------- 1 root root 3, 230 Aug 11 20:14 /dev/ttyd6 crw------- 1 root root 3, 231 Aug 11 20:14 /dev/ttyd7 crw------- 1 root root 3, 232 Aug 11 20:14 /dev/ttyd8 crw------- 1 root root 3, 233 Aug 11 20:14 /dev/ttyd9 crw------- 1 root root 3, 234 Aug 11 20:14 /dev/ttyda crw------- 1 root root 3, 235 Aug 11 20:14 /dev/ttydb crw------- 1 root root 3, 236 Aug 11 20:14 /dev/ttydc crw------- 1 root root 3, 237 Aug 11 20:14 /dev/ttydd crw------- 1 root root 3, 238 Aug 11 20:14 /dev/ttyde crw------- 1 root root 3, 239 Aug 11 20:14 /dev/ttydf crw------- 1 root root 3, 240 Aug 11 20:14 /dev/ttye0 crw------- 1 root root 3, 241 Aug 11 20:14 /dev/ttye1 crw------- 1 root root 3, 242 Aug 11 20:14 /dev/ttye2 crw------- 1 root root 3, 243 Aug 11 20:14 /dev/ttye3 crw------- 1 root root 3, 244 Aug 11 20:14 /dev/ttye4 crw------- 1 root root 3, 245 Aug 11 20:14 /dev/ttye5 crw------- 1 root root 3, 246 Aug 11 20:14 /dev/ttye6 crw------- 1 root root 3, 247 Aug 11 20:14 /dev/ttye7 crw------- 1 root root 3, 248 Aug 11 20:14 /dev/ttye8 crw------- 1 root root 3, 249 Aug 11 20:14 /dev/ttye9 crw------- 1 root root 3, 250 Aug 11 20:14 /dev/ttyea crw------- 1 root root 3, 251 Aug 11 20:14 /dev/ttyeb crw------- 1 root root 3, 252 Aug 11 20:14 /dev/ttyec crw------- 1 root root 3, 253 Aug 11 20:14 /dev/ttyed crw------- 1 root root 3, 254 Aug 11 20:14 /dev/ttyee crw------- 1 root root 3, 255 Aug 11 20:14 /dev/ttyef crw------- 1 root root 3, 0 Aug 11 20:14 /dev/ttyp0 crw------- 1 root root 3, 1 Aug 11 20:14 /dev/ttyp1 crw------- 1 root root 3, 2 Aug 11 20:14 /dev/ttyp2 crw------- 1 root root 3, 3 Aug 11 20:14 /dev/ttyp3 crw------- 1 root root 3, 4 Aug 11 20:14 /dev/ttyp4 crw------- 1 root root 3, 5 Aug 11 20:14 /dev/ttyp5 crw------- 1 root root 3, 6 Aug 11 20:14 /dev/ttyp6 crw------- 1 root root 3, 7 Aug 11 20:14 /dev/ttyp7 crw------- 1 root root 3, 8 Aug 11 20:14 /dev/ttyp8 crw------- 1 root root 3, 9 Aug 11 20:14 /dev/ttyp9 crw------- 1 root root 3, 10 Aug 11 20:14 /dev/ttypa crw------- 1 root root 3, 11 Aug 11 20:14 /dev/ttypb crw------- 1 root root 3, 12 Aug 11 20:14 /dev/ttypc crw------- 1 root root 3, 13 Aug 11 20:14 /dev/ttypd crw------- 1 root root 3, 14 Aug 11 20:14 /dev/ttype crw------- 1 root root 3, 15 Aug 11 20:14 /dev/ttypf crw------- 1 root root 3, 16 Aug 11 20:14 /dev/ttyq0 crw------- 1 root root 3, 17 Aug 11 20:14 /dev/ttyq1 crw------- 1 root root 3, 18 Aug 11 20:14 /dev/ttyq2 crw------- 1 root root 3, 19 Aug 11 20:14 /dev/ttyq3 crw------- 1 root root 3, 20 Aug 11 20:14 /dev/ttyq4 crw------- 1 root root 3, 21 Aug 11 20:14 /dev/ttyq5 crw------- 1 root root 3, 22 Aug 11 20:14 /dev/ttyq6 crw------- 1 root root 3, 23 Aug 11 20:14 /dev/ttyq7 crw------- 1 root root 3, 24 Aug 11 20:14 /dev/ttyq8 crw------- 1 root root 3, 25 Aug 11 20:14 /dev/ttyq9 crw------- 1 root root 3, 26 Aug 11 20:14 /dev/ttyqa crw------- 1 root root 3, 27 Aug 11 20:14 /dev/ttyqb crw------- 1 root root 3, 28 Aug 11 20:14 /dev/ttyqc crw------- 1 root root 3, 29 Aug 11 20:14 /dev/ttyqd crw------- 1 root root 3, 30 Aug 11 20:14 /dev/ttyqe crw------- 1 root root 3, 31 Aug 11 20:14 /dev/ttyqf crw------- 1 root root 3, 32 Aug 11 20:14 /dev/ttyr0 crw------- 1 root root 3, 33 Aug 11 20:14 /dev/ttyr1 crw------- 1 root root 3, 34 Aug 11 20:14 /dev/ttyr2 crw------- 1 root root 3, 35 Aug 11 20:14 /dev/ttyr3 crw------- 1 root root 3, 36 Aug 11 20:14 /dev/ttyr4 crw------- 1 root root 3, 37 Aug 11 20:14 /dev/ttyr5 crw------- 1 root root 3, 38 Aug 11 20:14 /dev/ttyr6 crw------- 1 root root 3, 39 Aug 11 20:14 /dev/ttyr7 crw------- 1 root root 3, 40 Aug 11 20:14 /dev/ttyr8 crw------- 1 root root 3, 41 Aug 11 20:14 /dev/ttyr9 crw------- 1 root root 3, 42 Aug 11 20:14 /dev/ttyra crw------- 1 root root 3, 43 Aug 11 20:14 /dev/ttyrb crw------- 1 root root 3, 44 Aug 11 20:14 /dev/ttyrc crw------- 1 root root 3, 45 Aug 11 20:14 /dev/ttyrd crw------- 1 root root 3, 46 Aug 11 20:14 /dev/ttyre crw------- 1 root root 3, 47 Aug 11 20:14 /dev/ttyrf crw------- 1 root root 3, 48 Aug 11 20:14 /dev/ttys0 crw------- 1 root root 4, 64 Aug 11 20:14 /dev/ttyS0 crw------- 1 root root 3, 49 Aug 11 20:14 /dev/ttys1 crw------- 1 root root 4, 65 Aug 11 19:54 /dev/ttyS1 crw------- 1 root root 3, 50 Aug 11 20:14 /dev/ttys2 crw------- 1 root root 4, 66 Aug 11 19:52 /dev/ttyS2 crw------- 1 root root 3, 51 Aug 11 20:14 /dev/ttys3 crw------- 1 root root 4, 67 Aug 11 20:14 /dev/ttyS3 crw------- 1 root root 3, 52 Aug 11 20:14 /dev/ttys4 crw------- 1 root root 3, 53 Aug 11 20:14 /dev/ttys5 crw------- 1 root root 3, 54 Aug 11 20:14 /dev/ttys6 crw------- 1 root root 3, 55 Aug 11 20:14 /dev/ttys7 crw------- 1 root root 3, 56 Aug 11 20:14 /dev/ttys8 crw------- 1 root root 3, 57 Aug 11 20:14 /dev/ttys9 crw------- 1 root root 3, 58 Aug 11 20:14 /dev/ttysa crw------- 1 root root 3, 59 Aug 11 20:14 /dev/ttysb crw------- 1 root root 3, 60 Aug 11 20:14 /dev/ttysc crw------- 1 root root 3, 61 Aug 11 20:14 /dev/ttysd crw------- 1 root root 3, 62 Aug 11 20:14 /dev/ttyse crw------- 1 root root 3, 63 Aug 11 20:14 /dev/ttysf crw------- 1 root root 3, 64 Aug 11 20:14 /dev/ttyt0 crw------- 1 root root 3, 65 Aug 11 20:14 /dev/ttyt1 crw------- 1 root root 3, 66 Aug 11 20:14 /dev/ttyt2 crw------- 1 root root 3, 67 Aug 11 20:14 /dev/ttyt3 crw------- 1 root root 3, 68 Aug 11 20:14 /dev/ttyt4 crw------- 1 root root 3, 69 Aug 11 20:14 /dev/ttyt5 crw------- 1 root root 3, 70 Aug 11 20:14 /dev/ttyt6 crw------- 1 root root 3, 71 Aug 11 20:14 /dev/ttyt7 crw------- 1 root root 3, 72 Aug 11 20:14 /dev/ttyt8 crw------- 1 root root 3, 73 Aug 11 20:14 /dev/ttyt9 crw------- 1 root root 3, 74 Aug 11 20:14 /dev/ttyta crw------- 1 root root 3, 75 Aug 11 20:14 /dev/ttytb crw------- 1 root root 3, 76 Aug 11 20:14 /dev/ttytc crw------- 1 root root 3, 77 Aug 11 20:14 /dev/ttytd crw------- 1 root root 3, 78 Aug 11 20:14 /dev/ttyte crw------- 1 root root 3, 79 Aug 11 20:14 /dev/ttytf crw------- 1 root root 3, 80 Aug 11 20:14 /dev/ttyu0 crw------- 1 root root 3, 81 Aug 11 20:14 /dev/ttyu1 crw------- 1 root root 3, 82 Aug 11 20:14 /dev/ttyu2 crw------- 1 root root 3, 83 Aug 11 20:14 /dev/ttyu3 crw------- 1 root root 3, 84 Aug 11 20:14 /dev/ttyu4 crw------- 1 root root 3, 85 Aug 11 20:14 /dev/ttyu5 crw------- 1 root root 3, 86 Aug 11 20:14 /dev/ttyu6 crw------- 1 root root 3, 87 Aug 11 20:14 /dev/ttyu7 crw------- 1 root root 3, 88 Aug 11 20:14 /dev/ttyu8 crw------- 1 root root 3, 89 Aug 11 20:14 /dev/ttyu9 crw------- 1 root root 3, 90 Aug 11 20:14 /dev/ttyua crw------- 1 root root 3, 91 Aug 11 20:14 /dev/ttyub crw------- 1 root root 3, 92 Aug 11 20:14 /dev/ttyuc crw------- 1 root root 3, 93 Aug 11 20:14 /dev/ttyud crw------- 1 root root 3, 94 Aug 11 20:14 /dev/ttyue crw------- 1 root root 3, 95 Aug 11 20:14 /dev/ttyuf crw------- 1 root root 3, 96 Aug 11 20:14 /dev/ttyv0 crw------- 1 root root 3, 97 Aug 11 20:14 /dev/ttyv1 crw------- 1 root root 3, 98 Aug 11 20:14 /dev/ttyv2 crw------- 1 root root 3, 99 Aug 11 20:14 /dev/ttyv3 crw------- 1 root root 3, 100 Aug 11 20:14 /dev/ttyv4 crw------- 1 root root 3, 101 Aug 11 20:14 /dev/ttyv5 crw------- 1 root root 3, 102 Aug 11 20:14 /dev/ttyv6 crw------- 1 root root 3, 103 Aug 11 20:14 /dev/ttyv7 crw------- 1 root root 3, 104 Aug 11 20:14 /dev/ttyv8 crw------- 1 root root 3, 105 Aug 11 20:14 /dev/ttyv9 crw------- 1 root root 3, 106 Aug 11 20:14 /dev/ttyva crw------- 1 root root 3, 107 Aug 11 20:14 /dev/ttyvb crw------- 1 root root 3, 108 Aug 11 20:14 /dev/ttyvc crw------- 1 root root 3, 109 Aug 11 20:14 /dev/ttyvd crw------- 1 root root 3, 110 Aug 11 20:14 /dev/ttyve crw------- 1 root root 3, 111 Aug 11 20:14 /dev/ttyvf crw------- 1 root root 3, 112 Aug 11 20:14 /dev/ttyw0 crw------- 1 root root 3, 113 Aug 11 20:14 /dev/ttyw1 crw------- 1 root root 3, 114 Aug 11 20:14 /dev/ttyw2 crw------- 1 root root 3, 115 Aug 11 20:14 /dev/ttyw3 crw------- 1 root root 3, 116 Aug 11 20:14 /dev/ttyw4 crw------- 1 root root 3, 117 Aug 11 20:14 /dev/ttyw5 crw------- 1 root root 3, 118 Aug 11 20:14 /dev/ttyw6 crw------- 1 root root 3, 119 Aug 11 20:14 /dev/ttyw7 crw------- 1 root root 3, 120 Aug 11 20:14 /dev/ttyw8 crw------- 1 root root 3, 121 Aug 11 20:14 /dev/ttyw9 crw------- 1 root root 3, 122 Aug 11 20:14 /dev/ttywa crw------- 1 root root 3, 123 Aug 11 20:14 /dev/ttywb crw------- 1 root root 3, 124 Aug 11 20:14 /dev/ttywc crw------- 1 root root 3, 125 Aug 11 20:14 /dev/ttywd crw------- 1 root root 3, 126 Aug 11 20:14 /dev/ttywe crw------- 1 root root 3, 127 Aug 11 20:14 /dev/ttywf crw------- 1 root root 3, 128 Aug 11 20:14 /dev/ttyx0 crw------- 1 root root 3, 129 Aug 11 20:14 /dev/ttyx1 crw------- 1 root root 3, 130 Aug 11 20:14 /dev/ttyx2 crw------- 1 root root 3, 131 Aug 11 20:14 /dev/ttyx3 crw------- 1 root root 3, 132 Aug 11 20:14 /dev/ttyx4 crw------- 1 root root 3, 133 Aug 11 20:14 /dev/ttyx5 crw------- 1 root root 3, 134 Aug 11 20:14 /dev/ttyx6 crw------- 1 root root 3, 135 Aug 11 20:14 /dev/ttyx7 crw------- 1 root root 3, 136 Aug 11 20:14 /dev/ttyx8 crw------- 1 root root 3, 137 Aug 11 20:14 /dev/ttyx9 crw------- 1 root root 3, 138 Aug 11 20:14 /dev/ttyxa crw------- 1 root root 3, 139 Aug 11 20:14 /dev/ttyxb crw------- 1 root root 3, 140 Aug 11 20:14 /dev/ttyxc crw------- 1 root root 3, 141 Aug 11 20:14 /dev/ttyxd crw------- 1 root root 3, 142 Aug 11 20:14 /dev/ttyxe crw------- 1 root root 3, 143 Aug 11 20:14 /dev/ttyxf crw------- 1 root root 3, 144 Aug 11 20:14 /dev/ttyy0 crw------- 1 root root 3, 145 Aug 11 20:14 /dev/ttyy1 crw------- 1 root root 3, 146 Aug 11 20:14 /dev/ttyy2 crw------- 1 root root 3, 147 Aug 11 20:14 /dev/ttyy3 crw------- 1 root root 3, 148 Aug 11 20:14 /dev/ttyy4 crw------- 1 root root 3, 149 Aug 11 20:14 /dev/ttyy5 crw------- 1 root root 3, 150 Aug 11 20:14 /dev/ttyy6 crw------- 1 root root 3, 151 Aug 11 20:14 /dev/ttyy7 crw------- 1 root root 3, 152 Aug 11 20:14 /dev/ttyy8 crw------- 1 root root 3, 153 Aug 11 20:14 /dev/ttyy9 crw------- 1 root root 3, 154 Aug 11 20:14 /dev/ttyya crw------- 1 root root 3, 155 Aug 11 20:14 /dev/ttyyb crw------- 1 root root 3, 156 Aug 11 20:14 /dev/ttyyc crw------- 1 root root 3, 157 Aug 11 20:14 /dev/ttyyd crw------- 1 root root 3, 158 Aug 11 20:14 /dev/ttyye crw------- 1 root root 3, 159 Aug 11 20:14 /dev/ttyyf crw------- 1 root root 3, 160 Aug 11 20:14 /dev/ttyz0 crw------- 1 root root 3, 161 Aug 11 20:14 /dev/ttyz1 crw------- 1 root root 3, 162 Aug 11 20:14 /dev/ttyz2 crw------- 1 root root 3, 163 Aug 11 20:14 /dev/ttyz3 crw------- 1 root root 3, 164 Aug 11 20:14 /dev/ttyz4 crw------- 1 root root 3, 165 Aug 11 20:14 /dev/ttyz5 crw------- 1 root root 3, 166 Aug 11 20:14 /dev/ttyz6 crw------- 1 root root 3, 167 Aug 11 20:14 /dev/ttyz7 crw------- 1 root root 3, 168 Aug 11 20:14 /dev/ttyz8 crw------- 1 root root 3, 169 Aug 11 20:14 /dev/ttyz9 crw------- 1 root root 3, 170 Aug 11 20:14 /dev/ttyza crw------- 1 root root 3, 171 Aug 11 20:14 /dev/ttyzb crw------- 1 root root 3, 172 Aug 11 20:14 /dev/ttyzc crw------- 1 root root 3, 173 Aug 11 20:14 /dev/ttyzd crw------- 1 root root 3, 174 Aug 11 20:14 /dev/ttyze crw------- 1 root root 3, 175 Aug 11 20:14 /dev/ttyzf
Jede Hilfe ist willkommen, ich habe in das Thema echt schon viel Zeit gesteckt und viele Foren-Einträge gelesen.
-
Das Thema DSM7 ist mir bewusst, aber es scheint in der Community auch schon viele zu geben, die eine Lösung gefunden haben... Offensichtlich mache ich noch was falsch.
Ja, alles läuft in einem Docker Container auf der Diskstation.
-
Dann zeige in der Docker-Konsole die Ausgabe , ob er da ist und welche Rechte :
ls -l /dev/ttyACM0
meinen hat er auf USB gelegt.
-
root@buanet-iobroker1:/opt/iobroker# ls -l /dev/ttyACM0 crwxrwxrwx 1 root root 166, 0 Aug 14 14:07 /dev/ttyACM0
Das sieht für mich wie erwartet aus. Einen USB findet sich unter den anderen Devices nicht.
-
Ich habe gerade noch einmal das Log von ioBroker angesehen. Da sehe ich zwei Fehler, habe aber keine Idee was es sein könnte..
2022-08-14 14:09:10.338 - info: host.buanet-iobroker1 iobroker.js-controller version 4.0.23 js-controller starting 2022-08-14 14:09:10.344 - info: host.buanet-iobroker1 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2022-08-14 14:09:10.345 - info: host.buanet-iobroker1 hostname: buanet-iobroker1, node: v16.16.0 2022-08-14 14:09:10.346 - info: host.buanet-iobroker1 ip addresses: 192.168.1.250 2001:16b8:1765:3100:211:32ff:fe8b:988f fe80::211:32ff:fe8b:988f 2022-08-14 14:09:10.724 - info: host.buanet-iobroker1 connected to Objects and States 2022-08-14 14:09:10.748 - info: host.buanet-iobroker1 Node.js version has changed from unknown to 16.16.0 2022-08-14 14:09:10.808 - info: host.buanet-iobroker1 added notifications configuration of host 2022-08-14 14:09:11.051 - info: host.buanet-iobroker1 3 instances found 2022-08-14 14:09:11.060 - info: host.buanet-iobroker1 starting 3 instances 2022-08-14 14:09:11.112 - info: host.buanet-iobroker1 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node 2022-08-14 14:09:11.152 - info: host.buanet-iobroker1 instance system.adapter.admin.0 started with pid 1124 2022-08-14 14:09:11.323 - info: host.buanet-iobroker1 Created UUID: 815f69c0-0883-443a-9893-4090acf8daf0 2022-08-14 14:09:12.932 - info: admin.0 (1124) starting. Version 5.3.8 in /opt/iobroker/node_modules/iobroker.admin, node: v16.16.0, js-controller: 4.0.23 2022-08-14 14:09:12.972 - info: admin.0 (1124) requesting all states 2022-08-14 14:09:12.973 - info: admin.0 (1124) requesting all objects 2022-08-14 14:09:13.042 - info: admin.0 (1124) received all objects 2022-08-14 14:09:13.075 - info: admin.0 (1124) Request actual repository... 2022-08-14 14:09:13.086 - info: host.buanet-iobroker1 Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2022-08-14 14:09:13.091 - info: admin.0 (1124) http server listening on port 8081 2022-08-14 14:09:13.092 - info: admin.0 (1124) Use link "http://localhost:8081" to configure. 2022-08-14 14:09:13.246 - warn: admin.0 (1124) Repository cannot be read: Active repo - stable 2022-08-14 14:09:13.247 - warn: admin.0 (1124) Active repository "stable cannot be read 2022-08-14 14:09:14.649 - info: admin.0 (1124) Repository received successfully. 2022-08-14 14:09:15.120 - info: host.buanet-iobroker1 instance system.adapter.discovery.0 started with pid 1139 2022-08-14 14:09:16.428 - info: discovery.0 (1139) starting. Version 3.0.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v16.16.0, js-controller: 4.0.23 2022-08-14 14:09:19.125 - info: host.buanet-iobroker1 instance system.adapter.backitup.0 started with pid 1154 2022-08-14 14:09:20.631 - info: backitup.0 (1154) starting. Version 2.4.9 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.16.0, js-controller: 4.0.23 2022-08-14 14:09:20.689 - info: backitup.0 (1154) [iobroker] backup was activated at 02:40 every 1 day(s) 2022-08-14 20:33:59.799 - info: host.buanet-iobroker1 stopInstance system.adapter.admin.0 (force=false, process=true) 2022-08-14 20:33:59.806 - info: admin.0 (1124) Got terminate signal TERMINATE_YOURSELF 2022-08-14 20:33:59.810 - info: admin.0 (1124) terminating http server on port 8081 2022-08-14 20:33:59.811 - info: admin.0 (1124) terminating 2022-08-14 20:33:59.812 - info: admin.0 (1124) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2022-08-14 20:33:59.846 - info: host.buanet-iobroker1 stopInstance system.adapter.admin.0 send kill signal 2022-08-14 20:34:00.358 - info: host.buanet-iobroker1 instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2022-08-14 20:34:02.876 - info: host.buanet-iobroker1 instance system.adapter.admin.0 started with pid 20347 2022-08-14 20:34:04.363 - info: admin.0 (20347) starting. Version 5.3.8 in /opt/iobroker/node_modules/iobroker.admin, node: v16.16.0, js-controller: 4.0.23 2022-08-14 20:34:04.401 - info: admin.0 (20347) requesting all states 2022-08-14 20:34:04.402 - info: admin.0 (20347) requesting all objects 2022-08-14 20:34:04.688 - info: admin.0 (20347) received all objects 2022-08-14 20:34:05.030 - info: admin.0 (20347) Request actual repository... 2022-08-14 20:34:05.040 - info: admin.0 (20347) http server listening on port 8081 2022-08-14 20:34:05.041 - info: admin.0 (20347) Use link "http://localhost:8081" to configure. 2022-08-14 20:34:05.180 - info: host.buanet-iobroker1 Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2022-08-14 20:34:05.446 - info: admin.0 (20347) failed connection to socket.io from ::ffff:192.168.1.66: 2022-08-14 20:34:05.450 - error: admin.0 (20347) Error: "error" 2022-08-14 20:34:06.824 - info: admin.0 (20347) Repository received successfully. 2022-08-14 20:34:23.240 - info: discovery.0 (1139) Done discovering serial devices. 5 packages received 2022-08-14 20:34:23.246 - info: discovery.0 (1139) Found 6 addresses 2022-08-14 20:34:24.282 - warn: discovery.0 (1139) write: 10;VERSION; 2022-08-14 20:34:24.284 - warn: discovery.0 (1139) Received: ���� 2022-08-14 20:34:24.343 - info: discovery.0 (1139) Discovery finished. Found new or modified 7 instances 2022-08-14 20:34:24.398 - info: discovery.0 (1139) Discovery finished 2022-08-14 20:35:04.096 - info: host.buanet-iobroker1 iobroker add smartmeter --host buanet-iobroker1 2022-08-14 20:35:06.485 - info: host.buanet-iobroker1 iobroker NPM version: 8.11.0 2022-08-14 20:35:06.486 - info: host.buanet-iobroker1 iobroker Installing iobroker.smartmeter@3.3.4... (System call) 2022-08-14 20:35:12.858 - info: host.buanet-iobroker1 iobroker 2022-08-14 20:35:12.859 - info: host.buanet-iobroker1 iobroker added 4 packages in 6s38 packages are looking for funding run `npm fund` for details 2022-08-14 20:35:12.886 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 install adapter smartmeter 2022-08-14 20:35:12.925 - info: host.buanet-iobroker1 iobroker upload [5] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/index.html index.html text/html 2022-08-14 20:35:12.956 - info: host.buanet-iobroker1 iobroker upload [4] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/questionmark.png questionmark.png image/png 2022-08-14 20:35:12.965 - info: host.buanet-iobroker1 iobroker upload [3] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/smartmeter.jpg smartmeter.jpg image/jpeg 2022-08-14 20:35:12.974 - info: host.buanet-iobroker1 iobroker upload [2] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/smartmeter.png smartmeter.png image/png 2022-08-14 20:35:12.982 - info: host.buanet-iobroker1 iobroker upload [1] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/tooltip.css tooltip.css text/css 2022-08-14 20:35:12.991 - info: host.buanet-iobroker1 iobroker upload [0] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/words.js words.js application/javascript 2022-08-14 20:35:13.020 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter created/updated 2022-08-14 20:35:13.047 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 create instance smartmeter 2022-08-14 20:35:13.055 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.alive created 2022-08-14 20:35:13.061 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.connected created 2022-08-14 20:35:13.072 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.compactMode created 2022-08-14 20:35:13.080 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.cpu created 2022-08-14 20:35:13.086 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.cputime created 2022-08-14 20:35:13.096 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.memHeapUsed created 2022-08-14 20:35:13.106 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.memHeapTotal created 2022-08-14 20:35:13.114 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.memRss created 2022-08-14 20:35:13.124 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.uptime created 2022-08-14 20:35:13.130 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.inputCount created 2022-08-14 20:35:13.136 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.outputCount created 2022-08-14 20:35:13.142 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.eventLoopLag created 2022-08-14 20:35:13.148 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.sigKill created 2022-08-14 20:35:13.154 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0.logLevel created 2022-08-14 20:35:13.159 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object smartmeter.0.info created 2022-08-14 20:35:13.164 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object smartmeter.0.info.connection created 2022-08-14 20:35:13.168 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 Set default value of smartmeter.0.info.connection: false 2022-08-14 20:35:13.180 - info: host.buanet-iobroker1 iobroker host.buanet-iobroker1 object system.adapter.smartmeter.0 created 2022-08-14 20:35:14.200 - info: host.buanet-iobroker1 iobroker exit 0 2022-08-14 20:35:16.209 - info: host.buanet-iobroker1 instance system.adapter.smartmeter.0 started with pid 20461 2022-08-14 20:35:18.025 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:18.113 - info: smartmeter.0 (20461) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.16.0, js-controller: 4.0.23 2022-08-14 20:35:18.138 - error: smartmeter.0 (20461) Serial port device is undefined, check your configuration! 2022-08-14 20:35:19.120 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:20.354 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:21.408 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:22.494 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:23.573 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:24.701 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:25.777 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:26.826 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:27.919 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:28.993 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:30.043 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:31.098 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:32.200 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:33.254 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:34.305 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:35.368 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:36.449 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:35:37.575 - info: smartmeter.0 (20461) List of port: [] 2022-08-14 20:36:57.106 - info: host.buanet-iobroker1 stopInstance system.adapter.smartmeter.0 (force=false, process=true) 2022-08-14 20:36:57.111 - info: smartmeter.0 (20461) Got terminate signal TERMINATE_YOURSELF 2022-08-14 20:36:57.113 - info: smartmeter.0 (20461) terminating 2022-08-14 20:36:57.114 - info: smartmeter.0 (20461) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2022-08-14 20:36:57.150 - info: host.buanet-iobroker1 stopInstance system.adapter.smartmeter.0 send kill signal 2022-08-14 20:36:57.647 - info: host.buanet-iobroker1 instance system.adapter.smartmeter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2022-08-14 20:37:00.173 - info: host.buanet-iobroker1 instance system.adapter.smartmeter.0 started with pid 20569 2022-08-14 20:37:01.881 - info: smartmeter.0 (20569) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.16.0, js-controller: 4.0.23 2022-08-14 20:37:11.933 - info: smartmeter.0 (20569) Error: No or too long answer from Serial Device after last request. 2022-08-14 20:37:11.934 - warn: smartmeter.0 (20569) No or too long answer from Serial Device after last request.
-
Ok . Er wird sauber erkannt / durchgereicht .
Hast du die Einstellungen so wie ich durchgeführt.
- ... Benutzerdefiniert ..
- /dev/ttyACM0
-
@carsten6273 sagte in Synology und IR-Lesekopf für Stromzähler:
Serial port device is undefined, check your configuration!
!!!!
-
deswegen
@Carsten6273 immer zeigen und nicht erzählen -
So stelle ich es ein:
klicke auf Speichern und Schliessen und beim nächsten Öffnen sehe ich wieder das
-
@carsten6273 sagte in Synology und IR-Lesekopf für Stromzähler:
So stelle ich es ein:
du must etwas warte ( so bei mir ) bis es alles kommt .
dauert ca. 15-30 Sekunden ,erst so ...
... Zeit x .. danach ist es alles ausgefüllt .
nutzt du VPN !?
-
Du hast recht, ich war zu ungeduldig
Das Log sieht aber nicht viel besser aus
Und ansonsten kein VPN
-
@carsten6273 sagte in Synology und IR-Lesekopf für Stromzähler:
Das Log sieht aber nicht viel besser au
Nimm alle Einstellungen so wie ich ... nur das bei dir /dev/ttyACM0 rein kommt
EDIT :
So wie ganz oben schon gezeigt :
-
-
Wenn man es richtig macht, geht es jetzt auch
-
Nicht so hektisch sein ... dann klappt es auch !!!!
-
Ich teste gleich noch einmal weiter, aber in den Instanzen sehe ich den grünen Status.....
Was nutzt du zum Visualisieren der Daten?
-
@carsten6273 sagte in Synology und IR-Lesekopf für Stromzähler:
Was nutzt du zum Visualisieren der Daten?
sourceanalytix
Angregung ... Beispiel bei History_Wallbox
https://forum.iobroker.net/topic/40926/vorlage-view-visualisierung-emobility-vw-connect-audi