Open steppatrik opened 7 months ago
I've looked into it and it seems that the latest versions of paho-mqtt have changed how it's used. You could try installing an older version until I fix it:
pip install paho-mqtt==1.6.1
EDIT: I've pushed a fix for this. You can do a git pull to get the latest version.
Firstly I tried just update through:
bash <(curl -s "https://raw.githubusercontent.com/bkbilly/AlarmPI/master/install.sh")
but still I cant run web interface after that..
Then tried:
pip install paho-mqtt==1.6.1
and now I can log in via http, but only with default credentials test1/secret, even if I had changed that during installation and double check it in settings.json file - from here:
{
"ui": {
"https": true,
"key": "my.cert.key",
"cert": "my.cert.crt",
"port": 5000
},
"users": {
"pi": {
"admin": false,
"logfile": "alert.log",
"pw": "xxx",
"settings": "settings.json"
}
}
}
:/
This is the server.json file which once changed, the AlarmPI should be restarted.
I did restart but still, I can use only defaults.. But I assume, that this is another problem, maybe in my setting.. Original post is solved :) Thx
Hi, I also writ you personal mail - I have another question: Does AlarmPI phone app has ability to send push notifications? For example when is alarm trigerred? Thanks. Patrik
ne 31. 3. 2024 v 14:22 odesílatel Vasilis Koulis @.***> napsal:
This is the server.json file which once changed, the AlarmPI should be restarted.
— Reply to this email directly, view it on GitHub https://github.com/bkbilly/AlarmPI/issues/31#issuecomment-2028692807, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHN46ANXXDCTZDUE5PUSVCDY275WTAVCNFSM6AAAAABFO7XQSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGY4TEOBQG4 . You are receiving this because you authored the thread.Message ID: @.***>
Unfortunately push notifications are not supported... The only supported notifications I've created are the email, voip and mqtt. If you need other methods, I would recommend using the Home Assistant MQTT integration.
Ok, I will try that. Thanks again! :) Patrik
Dne út 2. 4. 2024 0:17 uživatel Vasilis Koulis @.***> napsal:
Unfortunately push notifications are not supported... The only supported notifications I've created are the email, voip and mqtt. If you need other methods, I would recommend using the Home Assistant MQTT integration.
— Reply to this email directly, view it on GitHub https://github.com/bkbilly/AlarmPI/issues/31#issuecomment-2030668901, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHN46APHVNX4IOI65NJ3PJTY3HMHZAVCNFSM6AAAAABFO7XQSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGY3DQOJQGE . You are receiving this because you authored the thread.Message ID: @.***>
Describe the problem Hi, I have problem right after installation - installation went OK with no issue, after that, I cannot load web page for configuring.. tryied https/http variant, various ports and logins, nothing worked.. I have raspberry 3B
localhost address giving me: This site can’t be reached 192.168.1.110 refused to connect
Code after running main script:
OS Version
AlarmPI version
Error Logs - last run after restart
Configuration
Thanks in advance. I really like your work, hope I can run it sometime :) 👍