-
Notifications
You must be signed in to change notification settings - Fork 27
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
MQTT not responding #7
Comments
I solved. |
how did you solve I have the same thing? |
I have the same problem.... |
I’ve tried different brokers and now it works. |
Thx @marcosacchetti . How did you set it up? |
@marcosacchetti Do you know this error when compiling MHI-SPI2ESP: `C:\Users\steph\Downloads\rjdekker-MHI2MQTT-v1.0.0-14-ge737f6e\rjdekker-MHI2MQTT-e737f6e\src\MHI-SPI2ESP\MHI-SPI2ESP.ino: In function 'void SPI_sync()': C:\Users\steph\Downloads\rjdekker-MHI2MQTT-v1.0.0-14-ge737f6e\rjdekker-MHI2MQTT-e737f6e\src\MHI-SPI2ESP\MHI-SPI2ESP.ino:152:49: warning: invalid conversion from 'volatile void*' to 'void*' [-fpermissive] memcpy(&tx_SPIframe[9], &frameVariant[0][0], 9); //Copy (part of) the next frame to the current frame for sending on the upcoming bitfield 18 clock cycle
In file included from C:\Users\steph\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\arduino\avr\cores\arduino/Arduino.h:25:0,
c:\users\steph\downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr\avr\include\string.h:191:14: note: initializing argument 1 of 'void* memcpy(void*, const void*, size_t)' extern void *memcpy(void *, const void *, size_t);
C:\Users\steph\Downloads\rjdekker-MHI2MQTT-v1.0.0-14-ge737f6e\rjdekker-MHI2MQTT-e737f6e\src\MHI-SPI2ESP\MHI-SPI2ESP.ino: In function 'void loop()': C:\Users\steph\Downloads\rjdekker-MHI2MQTT-v1.0.0-14-ge737f6e\rjdekker-MHI2MQTT-e737f6e\src\MHI-SPI2ESP\MHI-SPI2ESP.ino:275:67: warning: invalid conversion from 'volatile void*' to 'const void*' [-fpermissive]
In file included from C:\Users\steph\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\arduino\avr\cores\arduino/Arduino.h:25:0,
c:\users\steph\downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr\avr\include\string.h:191:14: note: initializing argument 2 of 'void* memcpy(void*, const void*, size_t)' extern void *memcpy(void *, const void *, size_t);
C:\Users\steph\Downloads\rjdekker-MHI2MQTT-v1.0.0-14-ge737f6e\rjdekker-MHI2MQTT-e737f6e\src\MHI-SPI2ESP\MHI-SPI2ESP.ino:308:62: warning: invalid conversion from 'volatile void*' to 'const void*' [-fpermissive]
In file included from C:\Users\steph\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\arduino\avr\cores\arduino/Arduino.h:25:0,
c:\users\steph\downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr\avr\include\string.h:191:14: note: initializing argument 2 of 'void* memcpy(void*, const void*, size_t)' extern void *memcpy(void *, const void *, size_t);
C:\Users\steph\Downloads\rjdekker-MHI2MQTT-v1.0.0-14-ge737f6e\rjdekker-MHI2MQTT-e737f6e\src\MHI-SPI2ESP\MHI-SPI2ESP.ino:330:73: warning: invalid conversion from 'volatile void*' to 'void*' [-fpermissive]
In file included from C:\Users\steph\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\arduino\avr\cores\arduino/Arduino.h:25:0,
c:\users\steph\downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr\avr\include\string.h:191:14: note: initializing argument 1 of 'void* memcpy(void*, const void*, size_t)' extern void *memcpy(void *, const void *, size_t);` |
my configuration: |
I've never found that error compiling... I'm sorry, I can't help you. |
I looks like there something wrong with the script. Also with beebotte i don't get any updates.... it looks like that the spi doesn't work right. |
But I remember that I had a problem with the last version of ArduinoJson library and I needed to do download an old one. |
I know that problem, i have used a 5.1 version, can try to download another older one... |
sometimes it disconnects from the broker but I have a bad connection to the internet, so in my case, the cause could be this |
I'm trying to do the same with an esp32 without Arduino; if I will succeed, I will let you know. |
that would be perfect!! |
@marcosacchetti could you only compile the file for me please? To see where the problem is.... |
When I subscribe to debug channel the ESP send me, I suppose, the help message, but I don't receive anything on all status channels and when I send something to set values nothing happens. Even the service channel seems dead. I've tried with different brokers but nothing. Any idea?
The text was updated successfully, but these errors were encountered: