• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

TeensyNet Project Interest?

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
So I forgot my router password and had to reset it. Now my teensynet isn't acquiring an ip address. My pi gets one fine. I tried restating the teensynet several times with no success. Its not even showing up on my router as being connected. Any ideas of what I should try next?
 
Can you connect to the serial monitor? There should be some information as to what's occurring there. Are you using DHCP to connect, or a static address?

You may need to clear the data in the EEPROM, and restart the TeensyNet.

A little more information would be helpful.
 
I got it working. When I reset my router it changed the address range from 192.168.0.x to 192.168.1.x. I changed it back to the 192.168.0.x and was able to find it. Not sure why it wouldn't get an address with the other range when I have dhcp enabled.
 
I got it working. When I reset my router it changed the address range from 192.168.0.x to 192.168.1.x. I changed it back to the 192.168.0.x and was able to find it. Not sure why it wouldn't get an address with the other range when I have dhcp enabled.

It's been a few months since I looked at the code. When the Teensynet uses DHCP to get an IP address, it attempts to save that address to EEPROM, and will re-use that address for subsequent startups. That's because the PHP code and MySQL use that address to interrogate the TeensyNet. I never got around to attempting to use Zeroconf (Avahi) in order to interrogate the TeensyNet.

Something to add to the list...:p
 
@jimmayhugh Got another question near the beginning of the teensynet I had brought up a small issue where when I change my action settings when I hit the submit button I see a bunch of code across the top of the screen and I end up needing to reopen the page on my browser. Did you ever get the code fixed to eliminate this problem? I have a friend that is stating a brewery and is going to take my last board if there is a fix that I missed that would be great. I don't want to give him something that is going to have a code issue as he is going to be using it to control 7 bbl fermenters.
 
@jimmayhugh Got another question near the beginning of the teensynet I had brought up a small issue where when I change my action settings when I hit the submit button I see a bunch of code across the top of the screen and I end up needing to reopen the page on my browser. Did you ever get the code fixed to eliminate this problem? I have a friend that is stating a brewery and is going to take my last board if there is a fix that I missed that would be great. I don't want to give him something that is going to have a code issue as he is going to be using it to control 7 bbl fermenters.

It would help if you could post or e-mail me a page view of the problem.
 
@jimmayhugh Don't have time to get a screen shot I get the error message and in a couple seconds the page changes to a lost connection page. Here is a copy and past that I could get before the page changes. This all appears above the header.
$tempAddrQuery = SELECT name FROM chipNames WHERE address='0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69' AND netID='3'
$updateArrayData1 = 1 0 0 0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69
$updateArrayData2 = 34 0 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
$updateArrayData3 = 36 30 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
$in1 = B 0 1 1 0 0 0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69
$in2 = B 0 2 34 0 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
$in3 = B 0 3 36 30 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
UPDATE action SET id='0',active='1',tempAddr='0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69',tcAddr='0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96',tcTrigger='34',tcDelay='0',thAddr='0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96',thTrigger='36',thDelay='30',lcd='0',netID='3' WHERE id='0' AND netID='3'
 
@jimmayhugh Don't have time to get a screen shot I get the error message and in a couple seconds the page changes to a lost connection page. Here is a copy and past that I could get before the page changes. This all appears above the header.
$tempAddrQuery = SELECT name FROM chipNames WHERE address='0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69' AND netID='3'
$updateArrayData1 = 1 0 0 0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69
$updateArrayData2 = 34 0 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
$updateArrayData3 = 36 30 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
$in1 = B 0 1 1 0 0 0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69
$in2 = B 0 2 34 0 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
$in3 = B 0 3 36 30 0 0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96
UPDATE action SET id='0',active='1',tempAddr='0x28,0xCA,0xDE,0x6F,0x06,0x00,0x00,0x69',tcAddr='0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96',tcTrigger='34',tcDelay='0',thAddr='0x12,0xCE,0x83,0xB1,0x00,0x00,0x00,0x96',thTrigger='36',thDelay='30',lcd='0',netID='3' WHERE id='0' AND netID='3'

It looks like I corrected that some time ago in the github, but you may have downloaded it before that. Open ActionDataWithMySQL.php, and down near the bottom of the file replace:
Code:
echo $debugStr
with
Code:
//  echo $debugStr

That should fix it.
 
Ok so I have a new issue that I am trying to figure out. I pulled my power supply to run the pump for my line cleaner pump. When I put the supply back in my controller the teensynet stats up but after a couple minutes it crashes. I put a backup teensynet in and it does the same thing. Could this be an issue with power fluctuations?
 
Ok so I have a new issue that I am trying to figure out. I pulled my power supply to run the pump for my line cleaner pump. When I put the supply back in my controller the teensynet stats up but after a couple minutes it crashes. I put a backup teensynet in and it does the same thing. Could this be an issue with power fluctuations?

"It crashes" is not a very helpful description. Does it stop responding to UDP requests, etc. A better description of the problem helps. If nothing else has changed except the power supply (removed / replaced) that would be my first suspect.

If you have an oscilloscope, it might be worthwhile to look at the supply line. The Teensy3.x board is not very tolerant of voltage spikes.
 
It stops working the light on the teensy stops flickering and the pi says it's offline

have you uploaded code to the teensynet lately?

Do you have an LCD or display connected?

Try connecting the Teensy3.x to your computer via the USB cable that you would normally use to download new code to the TeensyNet.

Open the serial monitor on the IDE, and reset the teensynet. The serial monitor should give some power up info.
 
It's been more than a year and a half since anything has been posted to this page...

I've suspended work on this project, but left the website up for reference.

I'm still using the Teensynet for my own use, and since it ain't broken, I'm not trying to fix it.

I'm still willing to help with any questions, as long as you're willing to wait for me to work on the answers.

It's been fun.
 
I halted development on the TeensyNet project some time ago, but left the website up for reference.
There has been little activity on the site, and the domain name is set to expire in the near future, so I've decided not to renew the domain.

Thanks to all here that had an interest.
 
Back
Top