Search found 7 matches
- Monday 14 January 2019 18:08
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Re: Round function - Help needed
I want the percentage value of PM2.5 (airly, unit 11)to be sent after rounded via http. Currently it is eg 32.00 and I need 32.
- Monday 14 January 2019 12:33
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Re: Round function - Help needed
Is it possible to do?
- Sunday 13 January 2019 20:29
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Re: Round function - Help needed
I need the data from the first row (25,0)to be sent in the second row as a whole number (25). https://lh3.googleusercontent.com/soUOXdpj1RGiWiemVL34P6TSSGDveejYwvyeJQoMx6SfJhOZqjg558BUcEQ8NxMLigJ_8zu9lynJ7UW9TDTMaOWHFPbnNF8jL3h4Gf3gsLa6Vu6sc6OU6ELYThqYh19mY72U-XvVxbxMp_b6xAn3fpJ9b7doWM ...
- Sunday 13 January 2019 20:17
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Re: Round function - Help needed
Script https://lh3.googleusercontent.com/bxucVo1P6ffHOmDIRDR-fvVjo1EZ-Tthc_NUQhYCopy1gQalscAaBRF0Ux23SFP73IISn3nQEvNvlSIHKAkNq886W-9riB7qZTZFD2D88k0IXRL2M4u7oKXtp-Iix7g_YEaNxVy11e9pv3lCUBOytwGXzubwYwHKWe2NCGftLuwqTAUQgLLMwRCtRI-8aQwy-CK1dqZR5tlmOx5dFZpd8Uq ...
- Sunday 13 January 2019 18:36
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Re: Round function - Help needed
Holy crap, doesn't work
Can anyone help?
Can anyone help?
- Sunday 13 January 2019 11:51
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Re: Round function - Help needed
Thank you I will try!
- Sunday 13 January 2019 10:09
- Forum: dzVents
- Topic: Round function - Help needed
- Replies: 10
- Views: 2571
Round function - Help needed
Hi, I need to use the round function to round the PM2.5 value to an integer. I used code: rreturn { on = { devices = {'airly'}, }, execute = domoticz.round('PM2,5 Norma',0) end } However, it does not work. Device name: Airly Value: Pm2.5 Norma Please, tell me what I'm doing wrong. Thanks