New APP / Portal
-
- Posts: 13
- Joined: Fri May 13, 2011 12:27 pm
- Location: Italy
Re: New APP / Portal
I have iPhone 4S and iOS 7 of you need...
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
-
- Posts: 13
- Joined: Fri May 13, 2011 12:27 pm
- Location: Italy
Re: New APP / Portal
I have iPhone 4S and iOS 7 of you need...
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: New APP / Portal
I have Samsung S3(Android), iPhone 4(iOS 6), and iPad 3(iOS 7)
Dr Davaraj
Dr Davaraj
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: New APP / Portal
Hi all still chugging away.
For the coders out there behind RA, is there a way to get a response from the RA in json format?
I am trying to setup a cross domain get so that there is an option of direct commands to the unit when you are on the local network. This speeds up heaps.
For the coders out there behind RA, is there a way to get a response from the RA in json format?
I am trying to setup a cross domain get so that there is an option of direct commands to the unit when you are on the local network. This speeds up heaps.
Re: New APP / Portal
I'm creating my own json in javascript using an ajax call.
Re: New APP / Portal
Mine is a combination. I have one json that is r99 only and another that is r99 and mr data
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: New APP / Portal
What I am trying to achieve is a direct communication with the RA as you cannot cross get or post XML but you can with json.
So when the RA returns it's results using r99 or when you switch a relay it returns XML. I would like it to return JSON so we can directly control when you are in your local area network.
Features added so far:
Setup monitored ports and alerts: For example, you can set if temp 1 goes over (this) or below (that) turn off port (x).
This obviously should be done directly, but wold be helpful if you are away and want to monitor something.
Also if temp 1 goes over (this) or under (that) email me message (x). ( or sms if setup ).
You can choose how often you want to poll your RA and all data is stored in a database for quick access every time so there is no need to continually sync with the RA and wait for it to load.
Labels can be taken from RA portal or set your own.
Setup quick functions. For example
Button X is pressed : - > turn off relay X and relay X and turn on relay X.
When button X is pressed again, return to it's state.
Any relay can be programmed for a certain time or function.
All gauges can be monitored every ( 1,2,5,10,30,60,90,120,240 ) minutes.
What you all think
So when the RA returns it's results using r99 or when you switch a relay it returns XML. I would like it to return JSON so we can directly control when you are in your local area network.
Features added so far:
Setup monitored ports and alerts: For example, you can set if temp 1 goes over (this) or below (that) turn off port (x).
This obviously should be done directly, but wold be helpful if you are away and want to monitor something.
Also if temp 1 goes over (this) or under (that) email me message (x). ( or sms if setup ).
You can choose how often you want to poll your RA and all data is stored in a database for quick access every time so there is no need to continually sync with the RA and wait for it to load.
Labels can be taken from RA portal or set your own.
Setup quick functions. For example
Button X is pressed : - > turn off relay X and relay X and turn on relay X.
When button X is pressed again, return to it's state.
Any relay can be programmed for a certain time or function.
All gauges can be monitored every ( 1,2,5,10,30,60,90,120,240 ) minutes.
What you all think
Re: New APP / Portal
You will have to modify the ra wifi code to return the json. The behavior you mentioned for relays is basically how I did it in my javascript.
Re: New APP / Portal
Sound awesome. Can't wait to see it.
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: New APP / Portal
Thought so but as I am looking for a solution for everyone, it either needs to be an update for all or need to find another way around it.
Re: New APP / Portal
Can you provide an example json that the controller would be returning?
I'll have to change the libs to include that.
It'll have to be an optional feature, because the code will increase.
I'll have to change the libs to include that.
It'll have to be an optional feature, because the code will increase.
Roberto.
Re: New APP / Portal
Here's the output from my all_data_json.php
The json object has three arrays xml, mem, relays. XML contains the data straight from the r99 output. The mem contains all the memory variables extracted from /mr and the relays contains the relay information after applying masks and so forth.
For the controller output, I would suggest just outputting the r99 obviously... should look something like this, but I'm editing it manually...
Code: Select all
{"xml":{"ID":"lnevo","T1":"802","T2":"800","T3":"793","PH":"793","R":"203","RON":"0","ROFF":"255","R1":"28","RON1":"0","ROFF1":"255","R2":"128","RON2":"0","ROFF2":"255","R3":"0","RON3":"0","ROFF3":"255","R4":"0","RON4":"0","ROFF4":"255","R5":"0","RON5":"0","ROFF5":"255","R6":"0","RON6":"0","ROFF6":"255","R7":"0","RON7":"0","ROFF7":"255","R8":"0","RON8":"0","ROFF8":"255","ATOLOW":"1","ATOHIGH":"1","EM":"130","EM1":"0","REM":"3","FLAG":"0","PWMA":"30","PWMD":"30","PWMAO":"255","PWMDO":"255","WL":"93","C0":"0","C1":"8","C2":"8","C3":"0","C4":"46","C5":"9","C6":"8","C7":"0","RFM":"11","RFS":"37","RFD":"1","RFW":"0","RFRB":"0","RFR":"0","RFG":"0","RFB":"100","RFI":"100","RFWO":"255","RFRBO":"255","RFRO":"255","RFGO":"255","RFBO":"255","RFIO":"255"},"mem":{"Mem_B_MoonSlope":30,"Mem_B_Vacation":0,"Mem_B_AutoFeed":0,"Mem_B_AutoFeedPress":2,"Mem_B_AutoFeedRepeat":8,"Mem_B_AutoFeedOffset":5,"Mem_I_WCFillTime":270,"Mem_I_Latitude":21,"Mem_I_Longitude":-73,"Mem_B_AcclRiseOffset":4,"Mem_B_AcclSetOffset":2,"Mem_B_AcclDay":0,"Mem_B_SwabbieRepeat":4,"Mem_B_SwabbieTime":1,"Mem_B_TideMin":10,"Mem_B_TideMax":15,"Mem_B_PumpOffset":50,"Mem_B_FeedingRF":1,"Mem_B_NightRF":0,"Mem_B_NightSpeed":25,"Mem_B_NightDuration":16,"Mem_B_NTMSpeed":40,"Mem_B_NTMDuration":5,"Mem_B_NTMDelay":15,"Mem_B_NTMTime":150,"Mem_I_CalDP1Vol":10,"Mem_I_CalDP1Time":430,"Mem_I_DP1Volume":20,"Mem_I_CalDP2Vol":10,"Mem_I_CalDP2Time":430,"Mem_I_DP2Volume":20,"Mem_B_LogATO":96,"Mem_B_LogPrevATO":97,"Mem_B_RateAlarm":5,"Mem_B_TideMode":8,"Mem_B_MaintGAC":5,"Mem_B_MaintGFO":20,"Mem_B_MaintCal":13,"Mem_B_MaintAlk":13,"Mem_B_MaintWC":5,"Mem_B_MaintATO":1,"Mem_B_MaintFeeding":2,"Mem_B_MaintSkimmer":5,"Mem_B_MaintSocks":5,"Mem_B_MaintWCVol":20,"Mem_I_CalDP3Vol":3,"Mem_I_CalDP3Time":270,"Mem_I_DP3Volume":0,"Mem_B_ResetMemory":0,"Mem_B_MHOnHour":15,"Mem_B_MHOnMinute":30,"Mem_B_MHOffHour":21,"Mem_B_MHOffMinute":0,"Mem_B_StdLightsOnHour":11,"Mem_B_StdLightsOnMinute":42,"Mem_B_StdLightsOffHour":19,"Mem_B_StdLightsOffMinute":38,"Mem_I_WM1Timer":10,"Mem_I_WM2Timer":15,"Mem_B_DP1Timer":35,"Mem_B_DP2Timer":35,"Mem_I_FeedingTimer":1800,"Mem_I_LCDTimer":600,"Mem_I_OverheatTemp":840,"Mem_B_LEDPWMDaylight":18,"Mem_B_LEDPWMActinic":20,"Mem_I_HeaterTempOn":798,"Mem_I_HeaterTempOff":803,"Mem_I_ChillerTempOn":815,"Mem_I_ChillerTempOff":795,"Mem_B_ATOTimeout":60,"Mem_I_PHMax":840,"Mem_I_PHMin":524,"Mem_B_MHDelay":0,"Mem_B_DP1OnHour":20,"Mem_B_DP1OnMinute":0,"Mem_B_DP2OnHour":22,"Mem_B_DP2OnMinute":30,"Mem_B_ATOHourInterval":0,"Mem_B_ATOHighHourInterval":0,"Mem_B_ATOHighTimeout":60,"Mem_I_DP1RepeatInterval":60,"Mem_I_DP2RepeatInterval":60,"Mem_I_SalMax":2550,"Mem_B_PWMSlopeStartD":0,"Mem_B_PWMSlopeEndD":30,"Mem_B_PWMSlopeDurationD":30,"Mem_B_PWMSlopeStartA":0,"Mem_B_PWMSlopeEndA":30,"Mem_B_PWMSlopeDurationA":30,"Mem_B_RFMode":11,"Mem_B_RFSpeed":50,"Mem_B_RFDuration":10,"Mem_B_PWMSlopeStart0":15,"Mem_B_PWMSlopeEnd0":100,"Mem_B_PWMSlopeDuration0":60,"Mem_B_PWMSlopeStart1":15,"Mem_B_PWMSlopeEnd1":100,"Mem_B_PWMSlopeDuration1":60,"Mem_B_PWMSlopeStart2":15,"Mem_B_PWMSlopeEnd2":100,"Mem_B_PWMSlopeDuration2":60,"Mem_B_PWMSlopeStart3":15,"Mem_B_PWMSlopeEnd3":100,"Mem_B_PWMSlopeDuration3":60,"Mem_B_PWMSlopeStart4":15,"Mem_B_PWMSlopeEnd4":100,"Mem_B_PWMSlopeDuration4":60,"Mem_B_PWMSlopeStart5":15,"Mem_B_PWMSlopeEnd5":100,"Mem_B_PWMSlopeDuration5":60,"Mem_I_ATOExtendedTimeout":30,"Mem_I_ATOHighExtendedTimeout":120,"Mem_I_ORPMin":2050,"Mem_I_ORPMax":450,"Mem_B_ActinicOffset":120,"Mem_I_CO2ControlOn":770,"Mem_I_CO2ControlOff":760,"Mem_I_PHControlOn":800,"Mem_I_PHControlOff":810,"Mem_B_AISlopeStartW":0,"Mem_B_AISlopeEndW":100,"Mem_B_AISlopeDurationW":60,"Mem_B_AISlopeStartB":0,"Mem_B_AISlopeEndB":100,"Mem_B_AISlopeDurationB":60,"Mem_B_AISlopeStartRB":0,"Mem_B_AISlopeEndRB":100,"Mem_B_AISlopeDurationRB":60,"Mem_B_RadionSlopeStartW":0,"Mem_B_RadionSlopeEndW":0,"Mem_B_RadionSlopeDurationW":60,"Mem_B_RadionSlopeStartRB":0,"Mem_B_RadionSlopeEndRB":0,"Mem_B_RadionSlopeDurationRB":60,"Mem_B_RadionSlopeStartR":0,"Mem_B_RadionSlopeEndR":0,"Mem_B_RadionSlopeDurationR":60,"Mem_B_RadionSlopeStartG":0,"Mem_B_RadionSlopeEndG":0,"Mem_B_RadionSlopeDurationG":60,"Mem_B_RadionSlopeStartB":0,"Mem_B_RadionSlopeEndB":100,"Mem_B_RadionSlopeDurationB":60,"Mem_B_RadionSlopeStartI":0,"Mem_B_RadionSlopeEndI":100,"Mem_B_RadionSlopeDurationI":60,"Mem_B_DelayedStart":5,"Mem_I_PHExpMin":500,"Mem_I_PHExpMax":2500,"Mem_I_WaterLevelMin":855,"Mem_I_WaterLevelMax":2800,"Mem_I_SalTempComp":-1,"Mem_B_WaterLevelLow":61,"Mem_B_WaterLevelHigh":63,"Mem_B_DP3Timer":0,"Mem_I_DP3RepeatInterval":60,"Mem_B_LCDID":255,"Mem_B_DCPumpMode":0,"Mem_B_DCPumpSpeed":255,"Mem_B_DCPumpDuration":255},"relays":{"rbin":"11001011","relay1val":"1","relay2val":"1","relay3val":"0","relay4val":"1","relay5val":"0","relay6val":"0","relay7val":"1","relay8val":"1","relay1on":"0","relay2on":"0","relay3on":"0","relay4on":"0","relay5on":"0","relay6on":"0","relay7on":"0","relay8on":"0","relay1off":"1","relay2off":"1","relay3off":"1","relay4off":"1","relay5off":"1","relay6off":"1","relay7off":"1","relay8off":"1","relay1status":"1","relay2status":"1","relay3status":"0","relay4status":"1","relay5status":"0","relay6status":"0","relay7status":"1","relay8status":"1","rbin1":"00011100","relay11val":"0","relay12val":"0","relay13val":"1","relay14val":"1","relay15val":"1","relay16val":"0","relay17val":"0","relay18val":"0","relay11on":"0","relay12on":"0","relay13on":"0","relay14on":"0","relay15on":"0","relay16on":"0","relay17on":"0","relay18on":"0","relay11off":"1","relay12off":"1","relay13off":"1","relay14off":"1","relay15off":"1","relay16off":"1","relay17off":"1","relay18off":"1","relay11status":"0","relay12status":"0","relay13status":"1","relay14status":"1","relay15status":"1","relay16status":"0","relay17status":"0","relay18status":"0","rbin2":"10000000","relay21val":"0","relay22val":"0","relay23val":"0","relay24val":"0","relay25val":"0","relay26val":"0","relay27val":"0","relay28val":"1","relay21on":"0","relay22on":"0","relay23on":"0","relay24on":"0","relay25on":"0","relay26on":"0","relay27on":"0","relay28on":"0","relay21off":"1","relay22off":"1","relay23off":"1","relay24off":"1","relay25off":"1","relay26off":"1","relay27off":"1","relay28off":"1","relay21status":"0","relay22status":"0","relay23status":"0","relay24status":"0","relay25status":"0","relay26status":"0","relay27status":"0","relay28status":"1"}}
For the controller output, I would suggest just outputting the r99 obviously... should look something like this, but I'm editing it manually...
Code: Select all
{"xml":{"ID":"lnevo","T1":"802","T2":"800","T3":"793","PH":"793","R":"203","RON":"0","ROFF":"255","R1":"28","RON1":"0","ROFF1":"255","R2":"128","RON2":"0","ROFF2":"255","R3":"0","RON3":"0","ROFF3":"255","R4":"0","RON4":"0","ROFF4":"255","R5":"0","RON5":"0","ROFF5":"255","R6":"0","RON6":"0","ROFF6":"255","R7":"0","RON7":"0","ROFF7":"255","R8":"0","RON8":"0","ROFF8":"255","ATOLOW":"1","ATOHIGH":"1","EM":"130","EM1":"0","REM":"3","FLAG":"0","PWMA":"30","PWMD":"30","PWMAO":"255","PWMDO":"255","WL":"93","C0":"0","C1":"8","C2":"8","C3":"0","C4":"46","C5":"9","C6":"8","C7":"0","RFM":"11","RFS":"37","RFD":"1","RFW":"0","RFRB":"0","RFR":"0","RFG":"0","RFB":"100","RFI":"100","RFWO":"255","RFRBO":"255","RFRO":"255","RFGO":"255","RFBO":"255","RFIO":"255"}}
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: New APP / Portal
So your just encoding the returned XML from the RA. The issue is cross domain, I can't even access the XML. I can use a proxy but am trying to get a direct link for local ip addresses. Your code is a perfect example of what I need though,
Sent from my iPad using Tapatalk HD
Sent from my iPad using Tapatalk HD
Re: New APP / Portal
Yeah i think its a encode_json function. Have you looked at the e ample portal code i published?
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: New APP / Portal
Sure did. Thanks for that.
So looks like I'll put live with only proxy access not direct until we come up with a direct JSON solution.
Sent from my iPad using Tapatalk HD
So looks like I'll put live with only proxy access not direct until we come up with a direct JSON solution.
Sent from my iPad using Tapatalk HD
Re: New APP / Portal
Good job!!!
I'm very happy to see this post!!!
i'm not sure if its to late...
But, have iPhone 4 iOS 7 and my Reef Angel app not working with the new iOS
I will be very happy to test the NEW app
Thank
I'm very happy to see this post!!!
i'm not sure if its to late...
But, have iPhone 4 iOS 7 and my Reef Angel app not working with the new iOS
I will be very happy to test the NEW app
Thank
Osaka 40g with 55g sump
Radion, 2X Tunze 6045, Swc-160 mini cone
Re: New APP / Portal
Thank you [PERSON RAISING BOTH HANDS IN CELEBRATION]
Re: New APP / Portal
Android phone, android tablet, mac computer, windows computer, linux computer and an iPhone 5 for my son. Yes, I'm confused every time I boot something up.
Let me know if I can help.
Let me know if I can help.
-
- Posts: 95
- Joined: Mon Apr 29, 2013 10:51 pm
Re: New APP / Portal
I would love to see a widget for android. Something that has my parameters on the home screen
Sent from my SCH-I535 using Tapatalk 4
Sent from my SCH-I535 using Tapatalk 4
Re: New APP / Portal
Hi Guys,
Just curious if any headway has been made with this?
Upgraded my phone to ios7 before i knew there was a problem with the reef angel app and kicking myself in the butt now..
Just curious if any headway has been made with this?
Upgraded my phone to ios7 before i knew there was a problem with the reef angel app and kicking myself in the butt now..
Re: New APP / Portal
Hello, just upgraded my 4s to 5s. not knowing there is a compatibility issue with iOs7, looking forward for this New APP/ Portal development, thanks for the hard work/effort.
Re: New APP / Portal
Me too cant wait. The more iphone apps maker the better. The more options the better for us. As long as it being updated.
Last edited by mikedizon on Thu Nov 07, 2013 10:01 am, edited 4 times in total.
Re: New APP / Portal
Our iphone developer is lost and missing. I'll pay a fee if someone can find him
Re: New APP / Portal
I started working on ios programming over the weekend. I'm getting a better understanding of it. hopefully i can have a new app created by the end of the week. yes, i said new app because the existing one is a big ball of duct tape and lots of extras that are most likely not needed. so some functionality may go away initially just to get the basics working again.
and yes, it would be built for ios7 and later only.
and yes, it will still be free... or maybe 99 cents.... not certain yet.
it will be iPhone only initially (or run in compatible mode on ipad).
Sent from my Nexus 7
and yes, it would be built for ios7 and later only.
and yes, it will still be free... or maybe 99 cents.... not certain yet.
it will be iPhone only initially (or run in compatible mode on ipad).
Sent from my Nexus 7
Re: New APP / Portal
Great news thanks Kurt, and I dont thing anyone will have a problem paying 99cents for an APP that works.
Cheers
Bryan
Cheers
Bryan
Re: New APP / Portal
Hi Curt, thanks for the update, Looking forward. if you need a tester, i have a 4s with iOS7
Im still waiting for my 5s in preorder.
Arnee.
Im still waiting for my 5s in preorder.
Arnee.
Re: New APP / Portal
cool. I'm getting closer for the initial release. i don't have an iPhone but I have an ipad mini and ipad 3. like I said, I'm targeting iPhones first and then work from there. I will need feedback on the overall look and functionality of it.acabano wrote:Hi Curt, thanks for the update, Looking forward. if you need a tester, i have a 4s with iOS7
Im still waiting for my 5s in preorder.
Arnee.
Sent from my Nexus 7
-
- Posts: 58
- Joined: Sat Jan 26, 2013 1:27 am
Re: New APP / Portal
Hey guys sorry for delay, had a couple of bugs to iron out but will be live wednesday.
Re: New APP / Portal
That is wonderful news.JoelIreland wrote:Hey guys sorry for delay, had a couple of bugs to iron out but will be live wednesday.