@luizrrocha interesting... step by step instruction?
Posts made by Oli
-
RE: 💬 Building a Raspberry Pi Gateway
-
RE: 💬 Building a Raspberry Pi Gateway
OK I found the solution (thanks to @luizrrocha). I change
./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
to
./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSBMySensorsGateway and now its working.Question is, It's only workaround (in my case) or there is bug in the installation guide?
-
RE: 💬 Building a Raspberry Pi Gateway
@luizrrocha said:
@Oli : why not remove the old definition to avoid any trash information and restarting Domoticz to make shure it rereads the port info before creating the new entry ?
Of course I did that, I started from the scratch... but when it did not work I try to restore my backup... but it did not work also...
@luizrrocha said:
And I do not understand why if you are running domoticz and the gateway on the same Pi, why not use a ethernet gateway and set 127.0.0.1 and port 5003 on the Domoticz gateway entry. I did that and never had to worry about USB ports at all.
simple... I have no free LAN on my rotuer... there is more, I also have raZberry daughter board (Z-Wave) connected to same Raspberry Pi GPIO port. And till today everything works perfect until... "Better is the enemy of the good"
-
RE: 💬 Building a Raspberry Pi Gateway
@luizrrocha as You can see, on the picture above, I've wrote that ttyUSBMySensors.... is from my previous backup copy. On the same pictures You can also see that I can choose only from three serial ports: USB0, USB20 and AMA0. Thera are no ttyMySensorsGateway despite that it is present after ls /dev.
And that's the problem, I dont know how to make it present in the serial ports popup menu. -
RE: 💬 Building a Raspberry Pi Gateway
@luizrrocha
pi@raspberrypi ~ $ ls /devautofs mmcblk0p1 stderr tty36 ttyAMA0
block mmcblk0p2 stdin tty37 ttyMySensorsGateway
btrfs-control net stdout tty38 ttyprintk
bus network_latency tty tty39 ttyUSB0
cachefiles network_throughput tty0 tty4 ttyUSB20
char null tty1 tty40 uhid
console ppp tty10 tty41 uinput
cpu_dma_latency ptmx tty11 tty42 urandom
cuse pts tty12 tty43 vc-cma
disk ram0 tty13 tty44 vchiq
fb0 ram1 tty14 tty45 vcio
fd ram10 tty15 tty46 vc-mem
full ram11 tty16 tty47 vcs
fuse ram12 tty17 tty48 vcs1
gpiomem ram13 tty18 tty49 vcs2
hwrng ram14 tty19 tty5 vcs3
i2c-1 ram15 tty2 tty50 vcs4
input ram2 tty20 tty51 vcs5
kmsg ram3 tty21 tty52 vcs6
log ram4 tty22 tty53 vcsa
loop0 ram5 tty23 tty54 vcsa1
loop1 ram6 tty24 tty55 vcsa2
loop2 ram7 tty25 tty56 vcsa3
loop3 ram8 tty26 tty57 vcsa4
loop4 ram9 tty27 tty58 vcsa5
loop5 random tty28 tty59 vcsa6
loop6 raw tty29 tty6 vhci
loop7 root tty3 tty60 watchdog
loop-control serial tty30 tty61 watchdog0
MAKEDEV shm tty31 tty62 xconsole
mapper snd tty32 tty63 zero
mem sndstat tty33 tty7
memory_bandwidth spidev0.0 tty34 tty8
mmcblk0 spidev0.1 tty35 tty9pi@raspberrypi ~ $ ps -ef | grep my
root 2079 1 1 18:40 ? 00:02:49 /usr/local/bin/mysgw -b
pi 4214 4181 0 21:25 pts/2 00:00:00 grep --color=auto my -
RE: 💬 Building a Raspberry Pi Gateway
OK, I did it, I f....g did it, and guess what...
s...t happened again.
Everything went as it should, no errors at all, but no ttyUSBMySensorsGateway...
log error message:
2017-01-03 19:56:38.784 MySensors: Using serial port: /dev/ttyUSBMySensorsGateway
2017-01-03 19:56:38.785 Error: MySensors: Error opening serial port!
2017-01-03 19:56:39.785 MySensors: retrying in 30 seconds...and again...
and again...
...any help would be appreciated.
-
RE: 💬 Building a Raspberry Pi Gateway
@mfalkvidd hah... thats a good question, don't know. After dozen or more reinstallations, spending hours on Google I finally make it work. Got some notes but frankly I am worrying it will happen again. Hahaha
-
RE: 💬 Building a Raspberry Pi Gateway
@mfalkvidd I could not find ttyMySensorsGateway on Domoticz. Only ttyUSB0, ttyUSB20 and ttyAMA0. Even after I did ./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
-
RE: 💬 Building a Raspberry Pi Gateway
I wanna update not to re install of MySensors. I thought about something like ./updaterelease or ./updatebeta... I spend hours of make it work before, so I leave it as it is. No time or nerves for fighting next couple of days.
-
RE: 💬 Building a Raspberry Pi Gateway
@marceloaqno I am rather copy/paste not a programming kind a guy, so sorry for my lame questions.
pi@raspberrypi ~ $ git clone https://github.com/mysensors/MySensors.git
fatal: destination path 'MySensors' already exists and is not an empty directorypi@raspberrypi ~/MySensors $ git checkout master
Branch master set up to track remote branch master from origin.
Switched to a new branch 'master'but after that:
pi@raspberrypi ~/MySensors $ make
make: *** No targets specified and no makefile found. Stop.
pi@raspberrypi ~/MySensors $ sudo make install
make: *** No rule to make target 'install'. Stop. -
RE: 💬 Building a Raspberry Pi Gateway
How can I update MySensors Gateway from 2.1.0 beta to 2.1.0 stable/final release?
-
RE: 💬 Air Humidity Sensor - DHT
Could someone explain me why "Must be >1000ms for DHT22 and >2000ms for DHT11" when sampling rate is once per sec for DHT11 (once per 1000ms) and twice per sec for DHT22 (once per 500ms)?