nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
722 stars 1.76k forks source link

Automation event WiFi SSID contains space #2481

Closed M1Sports20 closed 1 year ago

M1Sports20 commented 1 year ago

I am currently using AndroidAPS 3.1.0.2

I have an automation that triggers a temp basel based on time and wifi ssid. This automation works, however the SSID location I key off has recently renamed and has a space in it. I believe having a space in the WiFi SSID causes the automation to not trigger.

MilosKozak commented 1 year ago

delimiter is set to ';' it should work

MilosKozak commented 1 year ago

added to tests and it's working even with space https://github.com/nightscout/AndroidAPS/commit/06ece9747cf5ad2b836ca41eb1c9e79fca22737c

M1Sports20 commented 1 year ago

Thanks, I will look back at my end. Sorry for wasting your time.

WesSec commented 6 months ago

@M1Sports20 did you find a solution? I'm also trying to build an automation and my SSID contains spaces, it does not seem to 'detect' the condition. When i turn Wifi on and Off, the trigger works. but it seems that it's not evaluating current visible SSID's, so its more of a trigger than a condition

M1Sports20 commented 5 months ago

The space was not my problem.  I had another condition preventing the automation.

May 6, 2024 5:55:33 AM Wessel Hissink @.***>:

@M1Sports20[https://github.com/M1Sports20] did you find a solution? I'm also trying to build an automation and my SSID contains spaces, it does not seem to 'detect' the condition.

— Reply to this email directly, view it on GitHub[https://github.com/nightscout/AndroidAPS/issues/2481#issuecomment-2095600696], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AADJ5LXEE6ZMTUVRRTLLXBLZA5HQ5AVCNFSM6AAAAAAWKW563GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGYYDANRZGY]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/AADJ5LQGXRPHVSFO7JVN2I3ZA5HQ5A5CNFSM6AAAAAAWKW563GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT45BKDQ.gif]