anaxyd / homey-airthings

GNU General Public License v3.0
4 stars 10 forks source link

Can't find the device on Homey pro #8

Open Allram opened 4 years ago

Allram commented 4 years ago

Hi,

Just bought a Airthings Wave, Honey pro (2019) does not find the device. Either it times out or no new devices is discovered. The BLE on Homey find other devices (Xaiomi Mi Flora T.ex) and the Wave pairs fine with my phone.

Any tips on getting Homey to find the Wave? It's updated to latest firmware trough the phone app.

anaxyd commented 4 years ago

Hey!

Have you tried having the device close to Homey when pairing? (Within 1m)

fre. 28. feb. 2020 kl. 15:31 skrev Allram notifications@github.com:

Hi,

Just bought a Airthings Wave, Honey pro (2019) does not find the device. Either it times out or no new devices is discovered. The BLE on Homey find other devices (Xaiomi Mi Flora T.ex) and the Wave pairs fine with my phone.

Any tips on getting Homey to find the Wave? It's updated to latest firmware trough the phone app.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anaxyd/homey-airthings/issues/8?email_source=notifications&email_token=ABYSADUN6RPY6EIUHCFSOSTRFEN2TA5CNFSM4K5RMOD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IREDQIQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYSADWV4PS7OPU53CSCPD3RFEN2TANCNFSM4K5RMODQ .

-- Med Vennlig Hilsen Vegard Brenden

Allram commented 4 years ago

Hey! Have you tried having the device close to Homey when pairing? (Within 1m) fre. 28. feb. 2020 kl. 15:31 skrev Allram notifications@github.com: Hi, Just bought a Airthings Wave, Honey pro (2019) does not find the device. Either it times out or no new devices is discovered. The BLE on Homey find other devices (Xaiomi Mi Flora T.ex) and the Wave pairs fine with my phone. Any tips on getting Homey to find the Wave? It's updated to latest firmware trough the phone app. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8?email_source=notifications&email_token=ABYSADUN6RPY6EIUHCFSOSTRFEN2TA5CNFSM4K5RMOD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IREDQIQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYSADWV4PS7OPU53CSCPD3RFEN2TANCNFSM4K5RMODQ . -- Med Vennlig Hilsen Vegard Brenden

Yep, tried everything from 0 to 10meters 🙉 Not showing up at all. Could it be a firmware change that does not allow it to be connected to Homey?

anaxyd commented 4 years ago

Weird, which Airthings firmware are you on? Have you tried restarting Homey?

fre. 28. feb. 2020 kl. 19:48 skrev Allram notifications@github.com:

Hey! Have you tried having the device close to Homey when pairing? (Within 1m) fre. 28. feb. 2020 kl. 15:31 skrev Allram notifications@github.com: Hi, Just bought a Airthings Wave, Honey pro (2019) does not find the device. Either it times out or no new devices is discovered. The BLE on Homey find other devices (Xaiomi Mi Flora T.ex) and the Wave pairs fine with my phone. Any tips on getting Homey to find the Wave? It's updated to latest firmware trough the phone app. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8 https://github.com/anaxyd/homey-airthings/issues/8?email_source=notifications&email_token=ABYSADUN6RPY6EIUHCFSOSTRFEN2TA5CNFSM4K5RMOD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IREDQIQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYSADWV4PS7OPU53CSCPD3RFEN2TANCNFSM4K5RMODQ . -- Med Vennlig Hilsen Vegard Brenden

Yep, tried everything from 0 to 10meters 🙉 Not showing up at all. Could it be a firmware change that does not allow it to be connected to Homey?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/anaxyd/homey-airthings/issues/8?email_source=notifications&email_token=ABYSADWRNWB7UMPFWQUXZ2LRFFMA7A5CNFSM4K5RMOD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJXFNI#issuecomment-592671413, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYSADVSFJ4HIVJ3UMQBVATRFFMA7ANCNFSM4K5RMODQ .

-- Med Vennlig Hilsen Vegard Brenden

Allram commented 4 years ago

Weird, which Airthings firmware are you on? Have you tried restarting Homey? fre. 28. feb. 2020 kl. 19:48 skrev Allram notifications@github.com: Hey! Have you tried having the device close to Homey when pairing? (Within 1m) fre. 28. feb. 2020 kl. 15:31 skrev Allram @.***: Hi, Just bought a Airthings Wave, Honey pro (2019) does not find the device. Either it times out or no new devices is discovered. The BLE on Homey find other devices (Xaiomi Mi Flora T.ex) and the Wave pairs fine with my phone. Any tips on getting Homey to find the Wave? It's updated to latest firmware trough the phone app. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8 <#8>?email_source=notifications&email_token=ABYSADUN6RPY6EIUHCFSOSTRFEN2TA5CNFSM4K5RMOD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IREDQIQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYSADWV4PS7OPU53CSCPD3RFEN2TANCNFSM4K5RMODQ . -- Med Vennlig Hilsen Vegard Brenden Yep, tried everything from 0 to 10meters 🙉 Not showing up at all. Could it be a firmware change that does not allow it to be connected to Homey? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#8?email_source=notifications&email_token=ABYSADWRNWB7UMPFWQUXZ2LRFFMA7A5CNFSM4K5RMOD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJXFNI#issuecomment-592671413>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYSADVSFJ4HIVJ3UMQBVATRFFMA7ANCNFSM4K5RMODQ . -- Med Vennlig Hilsen Vegard Brenden

Restarted multiple times, Firmware on the Wave is: "MSP: 1.1.2 CC: 1.2.4 SUB:" Homey is 4.0.0

Allram commented 4 years ago

In the app.js file there is this code:

`
discoverWaveDevices(driver) { return new Promise(async(resolve, reject) => {

        this.log("Searching for Airthings Wave devices...")
        const timeout = 29000;

        const ble = Homey.ManagerBLE;

        try {
            let devices = [];
            // Wave : b42e1f6eade711e489d3123b93f75cba
            const foundDevices = await ble.discover(['b42e1f6eade711e489d3123b93f75cba'], timeout);

`

I changed the UUID here to my device: b42e4a8eade711e489d3123b93f75cba Then it's immidietly picket up on Homey when paired, but no values received on either of the 3 sensors. Any tips? :)

Allram commented 4 years ago

Seems like i have the Wave Gen 2 device which has different readouts. Will see if i can manage to get some readings to work, seems like it's more like the Wave plus on the readout codes.

jarlemeland commented 4 years ago

I have the exact same problem. Also on Wave Gen 2 and unable to pair with homey. Any successs with the readouts?

oletorv commented 4 years ago

Hi Guys !

Ole here, I work for Airthings with BT FW for these devices, and I've been helping out with this module, I have not yet implemented the Wave 2 here, will do so soon :)

O.

jarlemeland commented 4 years ago

Hi @oletorv , any updates? :)

Allram commented 4 years ago

Hey @anaxyd & @oletorv any update on adding support for the Wave 2? 😀

Allram commented 3 years ago

Anyone? :-)

bjornbb commented 3 years ago

I am also interested in Wave 2 support.

Allram commented 3 years ago

Since no support on this issue, i have moved over to use a RPI-Zero Wireless and a Python script that gets the value from Airthings and publish it to MQTT -> Then i import the values into a Virtual Device on Homey.

cscheiene commented 1 year ago

Got the Wave 2 working using the wave+ driver. Needed to changing the following in the app.js:

ble.discover(['b42e1c08ade711e489d3123b93f75cba'] service.uuid === "b42e1c08ade711e489d3123b93f75cba" characteristic.uuid === "b42e2a68ade711e489d3123b93f75cba"