Open fssantos95 opened 5 years ago
Run ls /dev/ttyA*
on your terminal on the pi
I think the device should be "/dev/AMA0" you will need to change that in your docker-compose.yml file
Hi, Graham, would it be possible to add this fix into the standard image for ~/IOTstack/services/zigbee2mqtt/ service.yml?
I need to push some changes tomorrow, I'll add that in as well
On Mon, 18 Nov 2019, 21:40 simonlock, notifications@github.com wrote:
Hi, Graham, would it be possible to add this fix into the standard image for ~/IOTstack/services/zigbee2mqtt/ service.yml?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gcgarner/IOTstack/issues/66?email_source=notifications&email_token=ALECSYNQ7D3UIERRPOYVJRLQULVUBA5CNFSM4JMKHUW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEELVEBA#issuecomment-555176452, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALECSYKIBFMULDVEIBR6DYDQULVUBANCNFSM4JMKHUWQ .
Excellent thank you, Graham.
@simonlock i based the device on ttyACM0
based on feedback on another issue. could you confirm if ttyAMA0
works for you.
There may be a difference in how different devices are mapped on the pi, either as a usb or a serial interface
Hi Graham
I can confirm that ttyAMA0 works for me on a raspberry Pi.
Regards
Simon
Sent from my iPhone
On 19 Nov 2019, at 06:13, Graham Garner notifications@github.com wrote:
@simonlock i based the device on ttyACM0 based on feedback on another issue. could you confirm if ttyAMA0 works for you.
There may be a difference in how different devices are mapped on the pi, either as a usb or a serial interface
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi Graham Did you revert the change? I updated to the latest IoTStack and had to manually re-make the following change: devices:
Hi Simon
Sorry I thought i changed it, I'll add it today. It's still
devices:
- /dev/ttyACM0:/dev/ttyACM0
I'll change it to
devices:
- /dev/ttyAMA0:/dev/ttyACM0
#- /dev/ttyACM0:/dev/ttyACM0
I think that depending on which device you have it can either be presented as a usb interface or as a serial. Will add both options and the you can choose use which ever one works
Excellent thank you, Graham.
I pushed a change for it this morning
On Wed, 11 Dec 2019, 22:38 simonlock, notifications@github.com wrote:
Excellent thank you, Graham.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gcgarner/IOTstack/issues/66?email_source=notifications&email_token=ALECSYKGCBX4QJ73FC4PVSTQYFFVXA5CNFSM4JMKHUW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGUPXWI#issuecomment-564722649, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALECSYOW5WEYDCJZYW7CNJLQYFFVXANCNFSM4JMKHUWQ .
I got and error:
ERROR: for zigbee2mqtt Cannot start service zigbee2mqtt: b'error gathering device information while adding custom device "/dev/ttyACM0": no such file or directory
Any help?