Gateway / Station API?

Hello,

I have received my Gateway and connected three sensors to it. Now, I’d like to connect it to various automation. I can’t seem to find any documentation on how to query either the gateway or Station to retrieve sensor data. I don’t want to use custom MQTT, I want to send the data to Ruuvi Cloud and talk to an endpoint to get the data I need.

I have seen some other gists/examples in various places which reference a /history endpoint, but on my gateway, it does not work, and just returns the following json:

{“success”: false, “gateway_name”: “RuuviGateway568B”, “lan_auth_type”: “lan_auth_deny”}

In addition, if I try to go to the gateway local address via http - all I have is the option to select Suomi or English followed by “Access denied” in both languages - there is not even an option to login:

I tried resetting the settings & starting from scratch using the configurator but it does not change the result.

In addition, if I try to go to the gateway local address via http - all I have is the option to select Suomi or English followed by “Access denied” in both languages - there is not even an option to login:

I have the same issue. I’d love to reconfigure the station to send data to a custom HTTP server (as described in the advanced config guide), however I can’t work out how to log into the station and reconfigure it. All I get is the Access denied message.

To reconfigure the Gateway, you have to briefly press the configuration button and then configure via the Wi-Fi hotspot. Here you can find quick start guide:

We agree that the configuration flow is not yet perfect and several enhancements related to these problems and feature requests have been already implemented and a new firmware release will be published relatively soon.

Here you can follow the implementation status:

1 Like

Ah! Thanks.

I’m using ethernet, so I didn’t realise I had to push the button and use the wifi hotspot for the initial configuration.