Arduino Mega + W5500 + BME280 = Connection refused all the time
-
@NeoX Maybe not relevant, but that doesn't appear to be the Adafruit BME280, as you're including <bme280_mod-1022.h>. This headerfile appears to be part of this library: https://github.com/embeddedadventures/BME280 which is very different from the Adafruit implementation.
If that library blocks too long in one of its calls it might cause troubles. -
@Yveaux Hmm, interesting, since only one library i do find in Arduino IDE library manager as installed was this Adafruit.
But's should be fine@NeoX said in Arduino Mega + W5500 + BME280 = Connection refused all the time:
only one library i do find in Arduino IDE library manager
I started using PlatformIO recently, and I much prefer their way of searching libraries. When you do
pio runit will even take thelibrary.hfile name that you are missing and give you a link to look it up in their library search. You can also search there for library name, or file names. Very handy!Anyway, a bit offtopic for this thread, so recently I started another one where we can discuss PlatformIO (if you are interested).
@NeoX said in Arduino Mega + W5500 + BME280 = Connection refused all the time:
i switched to MQTT and it works fine, and i think MQTT client is more important for me
I rebuilt my gateway recently (few weeks ago) and this time I decided to go MQTT way. I actually have MQTT broker running on separate machine from my HA controller. Sort of distributed architecture, if you will. So far I am really liking this approach. Soon I will add some additional monitoring and metrics based directly off the MQTT, these will also be totally independent of the controller.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login