找回密码
 立即注册
搜索
楼主: tomassam

多用户-房屋状态解决 - 集大成 - 基于状态机

[复制链接]

1

主题

80

回帖

257

积分

论坛分享达人

积分
257
金钱
176
HASS币
10
 楼主| 发表于 2019-4-27 21:40:58 | 显示全部楼层
咸味土豆 发表于 2019-4-27 20:01
没忍住第一次在论坛使用右键翻译中文(简体),结果还没成功,手动翻译之后发现说的非常有道理,膜拜一下。 ...

haha, feel free to review!
回复

使用道具 举报

75

主题

1902

回帖

8323

积分

元老级技术达人

积分
8323
金钱
6296
HASS币
430

活跃会员教程狂人

发表于 2019-4-27 21:42:28 | 显示全部楼层
tomassam 发表于 2019-4-27 21:40
haha, feel free to review!

louzhu,ni zhen bang.
所有过往,皆为序章。
回复

使用道具 举报

 手机认证

123

主题

4549

回帖

1万

积分

管理员

囧死

积分
16579
金钱
11822
HASS币
45
发表于 2019-4-27 22:32:38 | 显示全部楼层
tomassam 发表于 2019-4-27 18:34
Ha! Thanks Jones. I do it intentionally, since the assorted (poorly edit) scripts are not suitable ...

oh my garden?
回复

使用道具 举报

0

主题

59

回帖

1278

积分

金牌会员

积分
1278
金钱
1219
HASS币
0
发表于 2019-4-28 08:57:15 | 显示全部楼层

谢谢分享!!!收藏以后用
回复

使用道具 举报

22

主题

497

回帖

1608

积分

金牌会员

积分
1608
金钱
1089
HASS币
10
发表于 2019-4-28 09:47:01 | 显示全部楼层
天书 模式启动中。。。
回复

使用道具 举报

1

主题

80

回帖

257

积分

论坛分享达人

积分
257
金钱
176
HASS币
10
 楼主| 发表于 2019-4-28 13:08:10 | 显示全部楼层
pigcais 发表于 2019-4-28 09:47
天书 模式启动中。。。

Yep, admit it's kinda academic description. But couldnt find a better way to convey idea in the same concise and accurate way. My suggestion is (1) read the state machine and understand it (it's actually a way of telling how status shifts) (2) read the code (especially the comment parts) and understand each code block represent a certain link of status machine figure.

If feeling good about the above steps, I believe you can make it. Good Luck.

(Again still on Ubuntu machine now without ZH pinyin input
回复

使用道具 举报

22

主题

497

回帖

1608

积分

金牌会员

积分
1608
金钱
1089
HASS币
10
发表于 2019-4-28 15:09:19 | 显示全部楼层
tomassam 发表于 2019-4-28 13:08
Yep, admit it's kinda academic description. But couldnt find a better way to convey idea in the sa ...

thanks i'll try it
回复

使用道具 举报

13

主题

387

回帖

2834

积分

金牌会员

积分
2834
金钱
2434
HASS币
0
发表于 2019-4-28 23:40:09 | 显示全部楼层
类似的功能我也是用门口的开关实现的,不过楼主的逻辑清晰,图画的好。感谢分享。
警戒开启可以关闭所有设备和插座或部分自动化省电。
进家后可以使用场景。
回复

使用道具 举报

7

主题

361

回帖

1370

积分

金牌会员

积分
1370
金钱
1002
HASS币
0
发表于 2019-4-29 12:34:45 | 显示全部楼层
tomassam 发表于 2019-4-27 17:18
百度tts+vlc   https://bbs.hassbian.com/forum.php?mod=viewthread&tid=6749&highlight=%E5%B0%8F%E7%B1%B ...

楼主这个百度tts链接错了,还是小米网关警戒的链接
回复

使用道具 举报

1

主题

80

回帖

257

积分

论坛分享达人

积分
257
金钱
176
HASS币
10
 楼主| 发表于 2019-4-29 12:56:43 | 显示全部楼层
maybeloveu 发表于 2019-4-28 23:40
类似的功能我也是用门口的开关实现的,不过楼主的逻辑清晰,图画的好。感谢分享。
警戒开启可以关闭所有设 ...

true! like to think about applications based on status
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-6-27 12:53 , Processed in 0.258636 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表