-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application kiwi exited: exited in: Kiwi.Application.start(:normal, []) #2
Comments
Did you enable the OBS endpoint? //Edit: Maybe you can paste your configuration with blanked out password/ssid here? |
I did not enable the OBS endpoint and removed the line as suggested in the Installation section. Contents of kiwi.txt:
|
Could you try enabling it and see if it works then? |
So made some progress. I added
I still get an error, but now the gpios are seen in the RingLogger.next output. Full output attached. New error:
I was hoping to use this without OBS. Is that not possible? |
Yes, it should be possible and I believe to have found the issue. Will work on a fix asap. If you want to use it right now it's probably best to just set up any websocket on that address. As long as it can connect to it, it should be good. |
So I added one of my internal web servers(port 81 is correct) to the kiwi.txt:
I still get an error in the RingLogger.next output:
Full log attached. |
So I've got this working to the point it now responds in a web browser. But I'm not able to POST anything using curl. Current kiwi.txt:
Fixed it to actually use a websocket by setting up a websocket test sever in docker. GET /settings result:
HTTP Action:
Result seen in RingLogger.next:
I then press key_1_in_row_1 and the following is shown in RingerLogger.next:
|
Can you give the bulk POST a try, as documented here? Your POST actually looks fine, but the response you retrieve doesn't look good. |
Still getting errors. POST:
Output of RingLogger.next:
Text file of output -> RingLogger.txt Just a thought. Is there any way to make a config file and place it on the SD card instead of using curl? |
I've validated the JSON you're posting here and found out you're missing a {
"settings": [{
"id": "key_1_in_row_1",
"object": {
"keydown": {
"http": [{
"body": "{}",
"method": "post",
"headers": {
"content-type": "application/json"
},
"url": "http://192.168.33.129/cm?cmnd=Power%20TOGGLE"
}]
}
}
}]
} Please re-try with this. |
I gave that a try on a linux machine this time and got the following:
RingLogger.next:
So I'm not sure what's happening. |
Thanks for all the great feedback, I will investigate this! |
Any update on this? Need anything further from me? |
@SirMaple no info needed, sorry, I just haven't had time to dig into it. |
First off this is awesome! I'm hoping to use Kiwi on my PIM420 in order to control some tasmota switches and other items in my home.
I'm not able to get any response using curl. I can ping and ssh into the Pi using the provided ssh key(took a bit for me to figure that part out since it's not mentioned that the key in the repo must be used).
I only thing that stands out in the RingLogger.next output is:
I've also attached a full copy of the output of RingLogger.next. I did remove my PSK and replace it with "PASSWORD HERE" but we know the issue is not wifi since I can ssh in so that shouldn't be an issue.
Any help would be greatly appreciated
log.txt
!
The text was updated successfully, but these errors were encountered: