1

Topic: Using Iphone app to cloud access make MCU crashes

Hi,

I've a project with an Arduino Mega and ESP8266 using cloud access. It's been running since 4 years no problem.

Since a few days, when remote access from my Iphone, MCU crashes because app set points values seems to be set to randoms numbers when accessing the system causing mayhem. It's like the app is setting wrong values at logging ???

Like I said, this was working like a champ for 4 years, this is a new behavior. Nothing has been change, code and hardware are the same, Iphone is the same for a while. This problem is new without any change on my side.

If acces the MCU from an Androîd phone and app, it doesn't seem to cause problem, only when accessing from Iphone.

My iPhone OS is 18.6.2, iPhone model SE, RemoteXY app version V1.13.3, Arduino Mega via ESP8266.

Is there something new in the app that could make this happen ?
Is there any way to fix this ?

I only have an iPhone, I have borrow someone else Androïd phone to check.

Thank you !

Samuel

2

Re: Using Iphone app to cloud access make MCU crashes

because app set points values seems to be set to randoms numbers when accessing the system causing mayhem. It's like the app is setting wrong values at logging ???


What do you mean?
Can you describe it in more detail, maybe a screenshot or code?

You can write to info@remotexy.com

3 (edited by sbarabe 2025-11-19 19:17:13)

Re: Using Iphone app to cloud access make MCU crashes

Hi,

When I access the system with the Iphone and App, after a successful login, some setpoints, selectors, etc. inputs are overwritten/crushed with values out of ranges. If I try to change the values, it keeps overwriting it with out of range wrong values.
My inputs values are constrained in code to be kept in range. But even with that, wrong values are pushed into the system.

If that would be a new system, I would say my code is bad, but it's been running for 4 years, and it just start happening since last week.

If I use an Andoïd phone and app, this doesn't happen. I can even change back the values for in range value. It's hard but I manage to do it.

So trouble is pointing toward Iphone and Iphone App... I maybe wrong, but it pointing that way.

As example, after logging, the date and hour are reset to initial hour and date, the clock ms correction is set to 876543 value, my regulation type selector list is set to nothing (choice with 2 options showing blank), percent tresholds are set way over the 100%, delay timer is set to minus something which is out of range... But not all inputs are off, I would say about 10-20%, and they are always the same with the same wrong values. It looks like a wrong size value is pushed in memory and crushes a lot of input values.

I know it's when I login because the hour reset to 0:0:00 when it happen. So when I log and it happen, hour show 0:00:xx with few seconds...

Also it's not happening at every login access, and it happen before I change something on the app.

4

Re: Using Iphone app to cloud access make MCU crashes

This is truly strange behavior. To understand why this is happening, we need to reproduce the error. Could you send us your controller code via email? It will remain confidential.
info@remotexy.com

5

Re: Using Iphone app to cloud access make MCU crashes

remotexy wrote:

This is truly strange behavior. To understand why this is happening, we need to reproduce the error. Could you send us your controller code via email? It will remain confidential.
info@remotexy.com

I've sent you an email with full code, librairies used, and some pictures.

It's a big code, I would totally understand if you can't go trough it but thanks for trying to help me !