-
Notifications
You must be signed in to change notification settings - Fork 5
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
"Waiting" continues. #4
Comments
I have the same problem. Trying running with example settings and still...waiting...and every 3 minutes shows the "Arduino connected successfully" prompt. |
I am sorry to hear that is not working stable anymore. I didn't test very-well because I had running out-of-time to complete this RTOS assignment. Maybe an-updated JS or Python library can cause this bug. I have put log things on to all possible else situations. Can you please share all the logs that you've received from terminal? Sorry for the late answer. Any PRs are welcomed. :) |
I'm sorry for my late response. ArduPort Log:
ArduPort config:
Arduino code (part of it):
I have restarted Arduino twice: after startup, the module shows sensors with "Waiting" (for values) and after both Arduino restarts the module has shown "Starting..". I'm running a fresh update now, but before that update, the module was showing just "Waiting..." (the one without sensors list), but I don't have a log for that already. Thank you very much for your time. :) |
I couldn't see the these logs on your logs. Start function is not working somehow, i guess. I'm afraid I don't have time to investigate why this is not working anymore. I'd appreciate if you fix the bug with a PR. :) |
anyone found a fix for this ? |
Hey @LilCritical, can you please share your logs and Arduino code? |
Hello, @Dentrax thanks for the reply ! #define VCC 5 //Supply voltage //Variables volatile int32_t m_counter = 0; static const char *pcMQ2Prefix = "[sensor:MQ2:"; void setup() { int test = 1; if(test > 1) { delay(3000); void loop() {
VRT = (5.00 / 1023.00) * VRT; //Conversion to voltage ln = log(RT / RT0); TX = TX - 273.15; //Conversion to Celsius Serial.print(pcMQ2Prefix); Serial.print(TX); Serial.println(pcPostfix); } here the log : [30.01.2022 03:44.09.879] [INFO] Checking git for module: MMM-ArduPort Also when you refresh the mirror page the arduino doesnt reconnect so it keeps saying waiting for connection. in order to make connection again you have to unplug usb from arduino and plug it in again , then console will recognise it again. Hope you can help me out , i love this feature you created and is exactly what i need for my mirror project :) EDIT :
apparently value = null , but im not sure why it is not receiving the data ( not that skilled in node ) |
Thanks for investigation! It seems ArduPort.py working fine as you said. But I'm busy nowadays and haven't appropriate environment to test this. And not sure why |
i am not sure if il be able to fix it :( , what i figured is that value = undefined in function formatValue: function(value, sensor) { |
@Dentrax a fix to this was mentioned here |
Any updates on this topic? |
No updates, would you like to get into it and send a PR? I would appreciate. @a2ngerer @LilCritical 🙏 |
I did a pr a long time ago and i fixed it and updated the pr but you never reviewed .. |
Actually I reviewed your PR and have been waiting your reviews: |
hi, i just try to modify MMM-ArduPort.js file it with add defaultFormat at sensors properties instead using |
once i code like |
I want to know why data is not displayed.
I'm using the HCSR04 sensor.
Like the second picture, data is received continuously.
but In the mirror, like first picture,
data is not displayed and "Waiting" is displayed.
Could you please help me..?
This is my Arduino code.
This is my config.js file.
I need help.. please help me..
The text was updated successfully, but these errors were encountered: